summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2010-07-21 14:39:02 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2010-07-21 14:39:02 +0000
commit883f65e7ea66d1aa45a6c4cd91d58bc87ecb896c (patch)
tree1ef0a416925e605820cc4b22190fa642378476ef /x11-misc/dclock
parentclean up (diff)
downloadgentoo-2-883f65e7ea66d1aa45a6c4cd91d58bc87ecb896c.tar.gz
gentoo-2-883f65e7ea66d1aa45a6c4cd91d58bc87ecb896c.tar.bz2
gentoo-2-883f65e7ea66d1aa45a6c4cd91d58bc87ecb896c.zip
clean up
(Portage version: 2.2_rc67/cvs/Linux x86_64)
Diffstat (limited to 'x11-misc/dclock')
-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
}