summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-07-21 14:40:28 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-07-21 14:40:28 +0000
commit3f98dd192ed821d35e3a04ae5ee0b2d11ece7ee7 (patch)
treee73eec4f4639a66135b03e8da4108edb523883d9 /x11-misc/dclock/dclock-2.1.2_p8.ebuild
parentCOPYING (diff)
downloadhistorical-3f98dd192ed821d35e3a04ae5ee0b2d11ece7ee7.tar.gz
historical-3f98dd192ed821d35e3a04ae5ee0b2d11ece7ee7.tar.bz2
historical-3f98dd192ed821d35e3a04ae5ee0b2d11ece7ee7.zip
clean up
Package-Manager: portage-2.2_rc67/cvs/Linux x86_64
Diffstat (limited to 'x11-misc/dclock/dclock-2.1.2_p8.ebuild')
-rw-r--r--x11-misc/dclock/dclock-2.1.2_p8.ebuild25
1 files changed, 13 insertions, 12 deletions
diff --git a/x11-misc/dclock/dclock-2.1.2_p8.ebuild b/x11-misc/dclock/dclock-2.1.2_p8.ebuild
index bdcfbe68a864..60b7ed2b9a5a 100644
--- a/x11-misc/dclock/dclock-2.1.2_p8.ebuild
+++ b/x11-misc/dclock/dclock-2.1.2_p8.ebuild
@@ -1,17 +1,16 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2010 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.3 2007/03/02 20:26:27 drac Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/dclock/dclock-2.1.2_p8.ebuild,v 1.4 2010/07/21 14:39:02 ssuominen Exp $
inherit eutils
DESCRIPTION="Digital clock for the X window system."
+HOMEPAGE="ftp://ftp.ac-grenoble.fr/ge/Xutils/"
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}"
-SLOT="0"
LICENSE="GPL-2"
+SLOT="0"
KEYWORDS="amd64 ppc x86"
IUSE=""
@@ -22,6 +21,8 @@ RDEPEND="x11-libs/libX11
DEPEND="${RDEPEND}
x11-misc/imake"
+S=${WORKDIR}/${PN}
+
src_unpack() {
unpack ${A}
cd "${S}"
@@ -30,16 +31,16 @@ src_unpack() {
}
src_compile() {
- xmkmf || die "xmkmf failed"
- emake CFLAGS="${CFLAGS}" || die "make failed"
+ xmkmf || die
+ emake CFLAGS="${CFLAGS}" || die
}
src_install() {
- emake DESTDIR=${D} install || die "make install failed"
- emake DESTDIR=${D} install.man || die "make install.man failed"
+ emake DESTDIR="${D}" install || die
+ emake DESTDIR="${D}" install.man || die
insinto /usr/share/sounds
- doins sounds/*
- insinto /etc/X11/app-defaults
- newins Dclock.ad DClock
+ doins sounds/* || die
+ insinto /usr/share/X11/app-defaults
+ newins Dclock.ad DClock || die
dodoc README TODO
}