summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSamuli Suominen <ssuominen@gentoo.org>2009-09-23 14:57:53 +0000
committerSamuli Suominen <ssuominen@gentoo.org>2009-09-23 14:57:53 +0000
commit4715ff857fefd588378936c5844d89c0693b7940 (patch)
tree2c0121b219873a98dc573ca212f70c95e9b3ab78 /x11-plugins
parentkill virtual/libc (diff)
downloadgentoo-2-4715ff857fefd588378936c5844d89c0693b7940.tar.gz
gentoo-2-4715ff857fefd588378936c5844d89c0693b7940.tar.bz2
gentoo-2-4715ff857fefd588378936c5844d89c0693b7940.zip
kill virtual/libc, fix repoman issues...
(Portage version: 2.2_rc41/cvs/Linux x86_64)
Diffstat (limited to 'x11-plugins')
-rw-r--r--x11-plugins/wmpager/wmpager-1.2-r1.ebuild22
1 files changed, 10 insertions, 12 deletions
diff --git a/x11-plugins/wmpager/wmpager-1.2-r1.ebuild b/x11-plugins/wmpager/wmpager-1.2-r1.ebuild
index 540b8b3b423c..40187df9839a 100644
--- a/x11-plugins/wmpager/wmpager-1.2-r1.ebuild
+++ b/x11-plugins/wmpager/wmpager-1.2-r1.ebuild
@@ -1,34 +1,32 @@
-# Copyright 1999-2007 Gentoo Foundation
+# Copyright 1999-2009 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmpager/wmpager-1.2-r1.ebuild,v 1.11 2007/07/22 04:41:20 dberkholz Exp $
+# $Header: /var/cvsroot/gentoo-x86/x11-plugins/wmpager/wmpager-1.2-r1.ebuild,v 1.12 2009/09/23 14:57:53 ssuominen Exp $
+
+EAPI=2
-IUSE=""
DESCRIPTION="A simple pager docklet for the WindowMaker window manager."
HOMEPAGE="http://wmpager.sourceforge.net/"
SRC_URI="mirror://sourceforge/wmpager/${P}.tar.gz"
-SLOT="0"
LICENSE="BSD"
+SLOT="0"
KEYWORDS="amd64 ~sparc x86"
+IUSE=""
RDEPEND="x11-libs/libX11
x11-libs/libXpm
- x11-libs/libXext
- virtual/libc"
+ x11-libs/libXext"
DEPEND="${RDEPEND}
>=sys-apps/sed-4"
-src_compile() {
+src_prepare() {
sed -i "s:\(WMPAGER_DEFAULT_INSTALL_DIR \).*:\1\"/usr/share/wmpager\":" \
src/wmpager.c
-
- emake || die
}
src_install() {
- make INSTALLDIR=${D}/usr install || die
-
- rm -rf ${D}/usr/man
+ emake INSTALLDIR="${D}/usr" install || die
+ rm -rf "${D}"/usr/man
doman man/man1/*.1x
dodoc README
}