You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
gentoo-overlay/x11-misc/xwit/xwit-3.4_p15.ebuild

40 lines
782 B

# Copyright 1999-2017 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit toolchain-funcs
DESCRIPTION="A collection of simple routines to call some of those X11 functions"
HOMEPAGE="https://tracker.debian.org/pkg/xwit"
SRC_URI="
mirror://debian/pool/main/x/${PN}/${PN}_${PV/_p*/}.orig.tar.gz
mirror://debian/pool/main/x/${PN}/${PN}_${PV/_p/-}.debian.tar.gz
"
LICENSE="public-domain HPND"
SLOT="0"
KEYWORDS="~amd64 ~ppc x86"
IUSE=""
RDEPEND="x11-libs/libX11"
DEPEND="${RDEPEND}
x11-proto/xproto"
S=${WORKDIR}/${P/_p*/}.orig
PATCHES=( "${WORKDIR}"/debian/patches )
src_prepare() {
default
sed -i \
-e 's|gcc|${CC}|g' \
Makefile || die
tc-export CC
}
src_install() {
dobin xwit
newman xwit.man xwit.1
einstalldocs
}