summaryrefslogtreecommitdiff
authorMichael Krelin <hacker@klever.net>2007-04-12 21:49:21 (UTC)
committer Michael Krelin <hacker@klever.net>2007-04-12 21:49:21 (UTC)
commit31eec028c0e04891aba43548a1d98d4ba15cd355 (patch) (unidiff)
tree4daa9d475bccf5c54ff7be57d85ce87011859865
parentb83f4f686b1c080d2e286e4c967c5777c5bda0a4 (diff)
downloadmisc-31eec028c0e04891aba43548a1d98d4ba15cd355.zip
misc-31eec028c0e04891aba43548a1d98d4ba15cd355.tar.gz
misc-31eec028c0e04891aba43548a1d98d4ba15cd355.tar.bz2
the rest of previous commit
Diffstat (more/less context) (ignore whitespace changes)
-rw-r--r--x11-plugins/asmem/asmem-1.10-r1.ebuild39
-rw-r--r--x11-plugins/asmem/files/asmem-1.10-gentoo.patch35
-rw-r--r--x11-plugins/asmem/files/digest-asmem-1.10-r13
3 files changed, 0 insertions, 77 deletions
diff --git a/x11-plugins/asmem/asmem-1.10-r1.ebuild b/x11-plugins/asmem/asmem-1.10-r1.ebuild
deleted file mode 100644
index caba379..0000000
--- a/x11-plugins/asmem/asmem-1.10-r1.ebuild
+++ b/dev/null
@@ -1,39 +0,0 @@
1# Copyright 1999-2006 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/x11-plugins/asmem/asmem-1.10-r1.ebuild,v 1.6 2006/11/27 12:52:26 gustavoz Exp $
4
5inherit eutils toolchain-funcs
6
7IUSE="jpeg"
8DESCRIPTION="Memory statistics monitor utility for X Windows"
9SRC_URI="http://www.tigr.net/afterstep/download/asmem/${P}.tar.gz"
10HOMEPAGE="http://www.tigr.net"
11SLOT="0"
12LICENSE="GPL-2"
13KEYWORDS="amd64 ppc ppc64 sparc x86"
14
15RDEPEND="x11-libs/libXpm
16 x11-libs/libSM
17 jpeg? ( media-libs/jpeg )"
18
19DEPEND="${RDEPEND}
20 x11-proto/xproto"
21
22src_unpack() {
23 unpack ${A}
24 cd "${S}"
25 epatch "${FILESDIR}"/${P}-gentoo.patch
26}
27
28src_compile() {
29 econf $(use_enable jpeg) || die "econf failed"
30 emake CC="$(tc-getCC)" || die "emake failed"
31}
32
33src_install() {
34 dodir /usr/bin
35 dodir /usr/share/man/man1
36
37 emake DESTDIR="${D}" install || die
38 dodoc CHANGES README
39}
diff --git a/x11-plugins/asmem/files/asmem-1.10-gentoo.patch b/x11-plugins/asmem/files/asmem-1.10-gentoo.patch
deleted file mode 100644
index 9a59ae0..0000000
--- a/x11-plugins/asmem/files/asmem-1.10-gentoo.patch
+++ b/dev/null
@@ -1,35 +0,0 @@
1 --- autoconf/Makefile.common.in.orig1999-03-07 14:12:42.000000000 +0100
2 +++ autoconf/Makefile.common.in2006-09-12 00:01:00.000000000 +0200
3@@ -9,11 +9,10 @@
4 install:install.bin install.man
5
6 install.bin:$(PROG)
7 - $(STRIP) $(PROG)
8 - $(INSTALL_PROGRAM) $(PROG) $(AFTER_BIN_DIR)
9 + $(INSTALL_PROGRAM) $(PROG) $(DESTDIR)$(AFTER_BIN_DIR)
10
11 install.man:
12 - $(INSTALL_DATA) $(PROG).man $(AFTER_MAN_DIR)/$(PROG).1x
13 + $(INSTALL_DATA) $(PROG).man $(DESTDIR)$(AFTER_MAN_DIR)/$(PROG).1x
14
15 uninstall:
16 $(RMF) $(AFTER_BIN_DIR)/$(PROG)
17 --- autoconf/Makefile.defines.in.orig2000-06-16 16:01:50.000000000 +0200
18 +++ autoconf/Makefile.defines.in2006-09-12 00:01:33.000000000 +0200
19@@ -2,6 +2,7 @@
20 # Copyright (c) 1998, Guylhem AZNAR <guylhem@oeil.qc.ca>
21 #
22
23 +DESTDIR =
24 CC = @CC@
25 CCFLAGS = @CFLAGS@
26 # -march=pentiumpro -mcpu=pentiumpro
27@@ -22,7 +23,7 @@
28 INSTALL_MODE= @INSTALL_MODE@
29
30 INSTALL = @INSTALL@
31 -INSTALL_PROGRAM= @INSTALL@ -s @INSTALL_MODE@
32 +INSTALL_PROGRAM= @INSTALL@ -m 755 @INSTALL_MODE@
33 INSTALL_DATA= @INSTALL@ -m 644
34
35 INCS_X = @X_CFLAGS@
diff --git a/x11-plugins/asmem/files/digest-asmem-1.10-r1 b/x11-plugins/asmem/files/digest-asmem-1.10-r1
deleted file mode 100644
index 2dc5f95..0000000
--- a/x11-plugins/asmem/files/digest-asmem-1.10-r1
+++ b/dev/null
@@ -1,3 +0,0 @@
1MD5 b770016b0d1bc4c9fca247827bb25293 asmem-1.10.tar.gz 47802
2RMD160 b6aec0ba9ac5a2f9a591223465ba15cb3a58ea7b asmem-1.10.tar.gz 47802
3SHA256 fc484d4be3d32c39feffd190293475412f4e3bd601ae7368923efd24f001a177 asmem-1.10.tar.gz 47802