summaryrefslogtreecommitdiff
path: root/x11-wm
diff options
context:
space:
mode:
authorKarl Trygve Kalleberg <karltk@gentoo.org>2001-09-27 21:51:25 +0000
committerKarl Trygve Kalleberg <karltk@gentoo.org>2001-09-27 21:51:25 +0000
commitca970c667a011e7b715731cf15bfe9d238fbfff7 (patch)
tree789821512059b2cc7dca30f24ecaacf4ffd3c76d /x11-wm
parentRestructured blackdown ebuilds (diff)
downloadhistorical-ca970c667a011e7b715731cf15bfe9d238fbfff7.tar.gz
historical-ca970c667a011e7b715731cf15bfe9d238fbfff7.tar.bz2
historical-ca970c667a011e7b715731cf15bfe9d238fbfff7.zip
APM applet for AfterStep
Diffstat (limited to 'x11-wm')
-rw-r--r--x11-wm/asapm/asapm-2.10.ebuild29
-rw-r--r--x11-wm/asapm/files/asapm-2.10-gentoo.diff19
-rw-r--r--x11-wm/asapm/files/digest-asapm-2.101
3 files changed, 49 insertions, 0 deletions
diff --git a/x11-wm/asapm/asapm-2.10.ebuild b/x11-wm/asapm/asapm-2.10.ebuild
new file mode 100644
index 000000000000..692e3b51d9bb
--- /dev/null
+++ b/x11-wm/asapm/asapm-2.10.ebuild
@@ -0,0 +1,29 @@
+# Copyright 1999-2001 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License, v2 or later
+# Author Karl Trygve Kalleberg <karltk@gentoo.org>
+# $Header: /var/cvsroot/gentoo-x86/x11-wm/asapm/asapm-2.10.ebuild,v 1.1 2001/09/27 21:51:25 karltk Exp $
+
+S=${WORKDIR}/${P}
+
+DESCRIPTION="APM monitor for AfterStep"
+
+SRC_URI="http://www.tigr.net/afterstep/download/asapm/asapm-2.10.tar.gz"
+
+HOMEPAGE="http://www.tigr.net/afterstep/list.pl"
+
+DEPEND="virtual/glibc virtual/x11"
+
+src_compile() {
+ ./configure --infodir=/usr/share/info --mandir=/usr/share/man --prefix=/usr --host=${CHOST} || die
+ patch -p0 < ${FILESDIR}/${PF}-gentoo.diff
+ emake || die
+}
+
+src_install () {
+
+ dodir usr/bin
+ dodir usr/share/man/man1
+
+ make prefix=${D} install || die
+}
+
diff --git a/x11-wm/asapm/files/asapm-2.10-gentoo.diff b/x11-wm/asapm/files/asapm-2.10-gentoo.diff
new file mode 100644
index 000000000000..991a303c13aa
--- /dev/null
+++ b/x11-wm/asapm/files/asapm-2.10-gentoo.diff
@@ -0,0 +1,19 @@
+--- Makefile.orig Tue Sep 25 23:36:44 2001
++++ Makefile Tue Sep 25 23:37:25 2001
+@@ -50,10 +50,12 @@
+ LIBS_AFTERSTEP =
+ LIBRARIES = $(LIBS_X) $(LIBS_XPM) $(LIBS_JPEG) $(LIBS_XEXTS) $(LIBS_AFTERSTEP)
+
+-AFTER_BIN_DIR = /usr/bin
+-AFTER_MAN_DIR = /usr/share/man/man1
+-AFTER_DOC_DIR = /usr/share/afterstep/doc
+-AFTER_SHAREDIR = /usr/share/afterstep
++
++AFTER_BIN_DIR = $(prefix)/usr/bin
++AFTER_MAN_DIR = $(prefix)/usr/share/man/man1
++AFTER_DOC_DIR = $(prefix)/usr/share/afterstep/doc
++AFTER_SHAREDIR = $(prefix)/usr/share/afterstep
++
+ GNUSTEP = ~/GNUstep
+ GNUSTEPLIB = ~/GNUstep/Library
+ AFTER_DIR = ~/GNUstep/Library/AfterStep
diff --git a/x11-wm/asapm/files/digest-asapm-2.10 b/x11-wm/asapm/files/digest-asapm-2.10
new file mode 100644
index 000000000000..ebdf0dcbf235
--- /dev/null
+++ b/x11-wm/asapm/files/digest-asapm-2.10
@@ -0,0 +1 @@
+MD5 5ac6d75297e430a7bdd0bc782035ef87 asapm-2.10.tar.gz