New package
authorRyan Phillips <rphillips@gentoo.org>
Mon, 28 Oct 2002 06:49:06 +0000 (06:49 +0000)
committerRyan Phillips <rphillips@gentoo.org>
Mon, 28 Oct 2002 06:49:06 +0000 (06:49 +0000)
x11-misc/wmpager/ChangeLog [new file with mode: 0644]
x11-misc/wmpager/files/digest-wmpager-1.2 [new file with mode: 0644]
x11-misc/wmpager/wmpager-1.2.ebuild [new file with mode: 0644]

diff --git a/x11-misc/wmpager/ChangeLog b/x11-misc/wmpager/ChangeLog
new file mode 100644 (file)
index 0000000..33a4ee3
--- /dev/null
@@ -0,0 +1,9 @@
+# ChangeLog for x11-misc/wmpager
+# Copyright 2002 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/x11-misc/wmpager/ChangeLog,v 1.1 2002/10/28 06:49:06 rphillips Exp $
+
+*wmpager-1.2 (27 Oct 2002)
+
+  27 Oct 2002; Ryan Phillips <rphillips@gentoo.org> ChangeLog wmpager-1.2.ebuild :
+
+  First release of wmpager
diff --git a/x11-misc/wmpager/files/digest-wmpager-1.2 b/x11-misc/wmpager/files/digest-wmpager-1.2
new file mode 100644 (file)
index 0000000..06c4c03
--- /dev/null
@@ -0,0 +1 @@
+MD5 402f6678bc29d5c355e9bc79a28faf59 wmpager-1.2.tar.gz 24255
diff --git a/x11-misc/wmpager/wmpager-1.2.ebuild b/x11-misc/wmpager/wmpager-1.2.ebuild
new file mode 100644 (file)
index 0000000..351088f
--- /dev/null
@@ -0,0 +1,29 @@
+# Copyright 1999-2002 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+
+S=${WORKDIR}/${P}
+HOMEPAGE="http://wmpager.sourceforge.net/"
+DESCRIPTION="wmpager is a simple pager docklet for the Window Maker."
+SRC_URI="mirror://sourceforge/wmpager/wmpager-${PV}.tar.gz"
+SLOT="0"
+LICENSE=""
+KEYWORDS="~x86"
+DEPEND=""
+RDEPEND=""
+
+src_compile() {
+       cd ${S}
+       mv Makefile Makefile.orig
+       sed -e "s:INSTALLDIR = .*:INSTALLDIR=${D}/usr:" Makefile.orig > Makefile
+       cd src
+       mv wmpager.c wmpager.c.orig
+       sed -e "s:WMPAGER_DEFAULT_INSTALL_DIR .*:WMPAGER_DEFAULT_INSTALL_DIR \"/usr/share/wmpager\":" wmpager.c.orig > wmpager.c
+       cd ..
+       emake || die
+}
+
+src_install() {
+       cd ${S}
+       emake install || die
+       dodoc README
+}