summaryrefslogtreecommitdiff
path: root/development/bsdiff/Makefile.diff
diff options
context:
space:
mode:
authorMarco Bonetti <sid77@slackware.it>2010-03-03 14:16:11 -0600
committerErik Hanson <erik@slackbuilds.org>2010-05-13 13:23:30 +0200
commit25605efd7e981d69afc8f7a41e1e08f91797f13f (patch)
tree4245333bd034c5fbcf344802e3cacfbbf105b794 /development/bsdiff/Makefile.diff
parent713d0adb8a892fcc64d8d33d62b6f2ca966ca18e (diff)
downloadslackbuilds-25605efd7e981d69afc8f7a41e1e08f91797f13f.tar.gz
development/bsdiff: Added.
bsdiff and bspatch are tools for building and applying patches to binary files. Thanks to Marco Bonetti.
Diffstat (limited to 'development/bsdiff/Makefile.diff')
-rw-r--r--development/bsdiff/Makefile.diff26
1 files changed, 26 insertions, 0 deletions
diff --git a/development/bsdiff/Makefile.diff b/development/bsdiff/Makefile.diff
new file mode 100644
index 0000000000..393f0803b7
--- /dev/null
+++ b/development/bsdiff/Makefile.diff
@@ -0,0 +1,26 @@
+diff -Naur bsdiff-4.3.orig/Makefile bsdiff-4.3/Makefile
+--- bsdiff-4.3.orig/Makefile 2005-08-17 00:14:10.000000000 +0200
++++ bsdiff-4.3/Makefile 2010-02-19 13:58:05.568018203 +0100
+@@ -1,15 +1,16 @@
+ CFLAGS += -O3 -lbz2
+
+ PREFIX ?= /usr/local
+-INSTALL_PROGRAM ?= ${INSTALL} -c -s -m 555
+-INSTALL_MAN ?= ${INSTALL} -c -m 444
++INSTALL_PROGRAM ?= ${INSTALL} -m 0755
++INSTALL_DIR ?= ${INSTALL} -d
++INSTALL_MAN ?= ${INSTALL} -m 0644
+
+ all: bsdiff bspatch
+ bsdiff: bsdiff.c
+ bspatch: bspatch.c
+
+ install:
+- ${INSTALL_PROGRAM} bsdiff bspatch ${PREFIX}/bin
+-.ifndef WITHOUT_MAN
+- ${INSTALL_MAN} bsdiff.1 bspatch.1 ${PREFIX}/man/man1
+-.endif
++ ${INSTALL_DIR} $(DESTDIR)/${PREFIX}/bin
++ ${INSTALL_DIR} $(DESTDIR)/${PREFIX}/man/man1
++ ${INSTALL_PROGRAM} bsdiff bspatch $(DESTDIR)/${PREFIX}/bin
++ ${INSTALL_MAN} bsdiff.1 bspatch.1 $(DESTDIR)/${PREFIX}/man/man1