diff options
Diffstat (limited to 'x11-misc/dclock/dclock-2.1.2_p8.ebuild')
-rw-r--r-- | x11-misc/dclock/dclock-2.1.2_p8.ebuild | 27 |
1 files changed, 11 insertions, 16 deletions
diff --git a/x11-misc/dclock/dclock-2.1.2_p8.ebuild b/x11-misc/dclock/dclock-2.1.2_p8.ebuild index ea0e7c756929..bdcfbe68a864 100644 --- a/x11-misc/dclock/dclock-2.1.2_p8.ebuild +++ b/x11-misc/dclock/dclock-2.1.2_p8.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2006 Gentoo Foundation +# Copyright 1999-2007 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/x11-misc/dclock/dclock-2.1.2_p8.ebuild,v 1.2 2006/08/06 21:17:09 deltacow Exp $ +# $Header: /var/cvsroot/gentoo-x86/x11-misc/dclock/dclock-2.1.2_p8.ebuild,v 1.3 2007/03/02 20:26:27 drac Exp $ inherit eutils @@ -9,39 +9,34 @@ SRC_URI="mirror://debian/pool/main/d/${PN}/${PN}_${PV/_p*/}.orig.tar.gz mirror://debian/pool/main/d/${PN}/${PN}_${PV/_p/-}.diff.gz" HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/" -S=${WORKDIR}/${PN} +S="${WORKDIR}/${PN}" SLOT="0" LICENSE="GPL-2" KEYWORDS="amd64 ppc x86" IUSE="" -RDEPEND="|| ( ( - x11-libs/libX11 - x11-libs/libXt - x11-libs/libXext ) - virtual/x11 ) +RDEPEND="x11-libs/libX11 + x11-libs/libXt + x11-libs/libXext app-text/rman" DEPEND="${RDEPEND} - || ( ( - x11-misc/imake - x11-proto/xproto ) - virtual/x11 )" + x11-misc/imake" src_unpack() { unpack ${A} - cd ${S} + cd "${S}" epatch ../${PN}_${PV/_p/-}.diff ln -sf dclock.1 dclock.man # needed to fix xmkmf breakage } src_compile() { xmkmf || die "xmkmf failed" - make CFLAGS="${CFLAGS}" || die "make failed" + emake CFLAGS="${CFLAGS}" || die "make failed" } src_install() { - make DESTDIR=${D} install || die "make install failed" - make DESTDIR=${D} install.man || die "make install.man failed" + emake DESTDIR=${D} install || die "make install failed" + emake DESTDIR=${D} install.man || die "make install.man failed" insinto /usr/share/sounds doins sounds/* insinto /etc/X11/app-defaults |