summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorNed Ludd <solar@gentoo.org>2003-08-15 22:29:39 +0000
committerNed Ludd <solar@gentoo.org>2003-08-15 22:29:39 +0000
commit7b5d860f5da81ac20ff5552592468ff1fff40690 (patch)
tree9bd8f29a347276c8db35f8ecc15b70dce964384b /dev-libs/elfsh/files
parentversion bump to latest version listed in phrack #61 (diff)
downloadgentoo-2-7b5d860f5da81ac20ff5552592468ff1fff40690.tar.gz
gentoo-2-7b5d860f5da81ac20ff5552592468ff1fff40690.tar.bz2
gentoo-2-7b5d860f5da81ac20ff5552592468ff1fff40690.zip
version bump to latest version listed in phrack #61
Diffstat (limited to 'dev-libs/elfsh/files')
-rw-r--r--dev-libs/elfsh/files/digest-elfsh-0.51_beta21
-rw-r--r--dev-libs/elfsh/files/elfsh-0.51b2.diff47
2 files changed, 48 insertions, 0 deletions
diff --git a/dev-libs/elfsh/files/digest-elfsh-0.51_beta2 b/dev-libs/elfsh/files/digest-elfsh-0.51_beta2
new file mode 100644
index 000000000000..128432445195
--- /dev/null
+++ b/dev-libs/elfsh/files/digest-elfsh-0.51_beta2
@@ -0,0 +1 @@
+MD5 091a9a89f69f861024a75d314b6d616f elfsh-0.51b2-portable.tgz 138012
diff --git a/dev-libs/elfsh/files/elfsh-0.51b2.diff b/dev-libs/elfsh/files/elfsh-0.51b2.diff
new file mode 100644
index 000000000000..301cb27d366d
--- /dev/null
+++ b/dev-libs/elfsh/files/elfsh-0.51b2.diff
@@ -0,0 +1,47 @@
+--- Makefile.orig 2003-08-13 09:31:55.000000000 -0400
++++ Makefile 2003-08-15 18:12:36.000000000 -0400
+@@ -5,12 +5,14 @@
+ ## Last update Sun May 25 18:12:43 2003 mayhem
+ ##
+
++DESTDIR = /
++PREFIX = $(DESTDIR)/usr
+ RM = rm -f
+ ETAGS = etags
+-MODPATH = /usr/share/elfsh/
+-BINPATH = /usr/bin
+-LIBPATH = /usr/lib/
+-INCPATH = /usr/include/
++MODPATH = $(PREFIX)/share/elfsh
++BINPATH = $(PREFIX)/bin
++LIBPATH = $(PREFIX)/lib
++INCPATH = $(PREFIX)/include
+
+ all :
+ @echo 'Builting libelfsh...'
+@@ -32,10 +34,11 @@
+ #$(MAKE) -s tags
+
+ install : mod_install
++ mkdir -p $(MODPATH) $(BINPATH) $(LIBPATH) $(INCPATH) || true
+ @cp vm/elfsh $(BINPATH)/
+ @cp libelfsh/libelfsh.a libelfsh/libelfsh.so $(LIBPATH)
+ @cp libelfsh/include/libelfsh*.h $(INCPATH)
+- @chmod 755 $(BINPATH)/elfsh $(LIBPATH)libelfsh.so $(LIBPATH)libelfsh.a $(INCPATH)libelfsh*.h
++ @chmod 755 $(BINPATH)/elfsh $(LIBPATH)/libelfsh.so $(LIBPATH)/libelfsh.a $(INCPATH)/libelfsh*.h
+ @echo 'ELFsh and Libelfsh installed successfully .'
+
+ mod_install:
+@@ -44,9 +47,9 @@
+ @chmod -R 755 $(MODPATH)
+
+ uninstall:
+- rm -f /usr/bin/elfsh
+- rm -f /usr/lib/libelfsh*
+- rm -f /usr/include/libelfsh*.h
++ rm -f $(BINPATH)/elfsh
++ rm -f $(LIBPATH)/libelfsh*
++ rm -f $(INCPATH)/libelfsh*.h
+ rm -fr $(MODPATH)
+ @echo 'ELFsh and Libelfsh uninstalled successfully'
+