aboutsummaryrefslogtreecommitdiff
path: root/oggfwd/oggfwd-0.2.diff
diff options
context:
space:
mode:
authorrafael2k <rafael2k@370017ae-e619-0410-ac65-c121f96126d4>2006-10-31 01:14:17 +0000
committerrafael2k <rafael2k@370017ae-e619-0410-ac65-c121f96126d4>2006-10-31 01:14:17 +0000
commit492fdc65cf351164b1739a16cfa74674abb030d7 (patch)
treeea8cc5667d37042f63b04f2dda9556b1ac4524f6 /oggfwd/oggfwd-0.2.diff
parent94948bb2f7308a3fcd397ef46e36f13db51a0da7 (diff)
downloadslackbuilds-492fdc65cf351164b1739a16cfa74674abb030d7.tar.gz
slackbuilds-492fdc65cf351164b1739a16cfa74674abb030d7.tar.bz2
oggfwd added
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@548 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'oggfwd/oggfwd-0.2.diff')
-rw-r--r--oggfwd/oggfwd-0.2.diff25
1 files changed, 25 insertions, 0 deletions
diff --git a/oggfwd/oggfwd-0.2.diff b/oggfwd/oggfwd-0.2.diff
new file mode 100644
index 00000000..d385874e
--- /dev/null
+++ b/oggfwd/oggfwd-0.2.diff
@@ -0,0 +1,25 @@
+--- Makefile.orig 2006-10-30 22:04:46.000000000 -0200
++++ Makefile 2006-10-30 22:04:28.000000000 -0200
+@@ -2,7 +2,7 @@
+ SRC = oggfwd.c
+ MAN = oggfwd.1
+
+-PREFIX ?= /usr/local
++PREFIX ?= /usr
+ BINDIR ?= ${PREFIX}/bin
+ MAN1DIR ?= ${PREFIX}/man/man1
+
+@@ -23,9 +23,10 @@
+ ${CC} ${CFLAGS} ${PTHREADFLAGS} ${INCLUDEFLAGS} ${LINKFLAGS} -o ${PROG} $<
+
+ install: ${PROG}
+- ${INSTALL} -c -m 555 -o root -g bin ${PROG} ${BINDIR}
+- test -d ${MAN1DIR} || ${INSTALL} -d -o root ${MAN1DIR}
+- ${INSTALL} -c -m 444 -o root -g bin ${MAN} ${MAN1DIR}
++ test -d ${DESTDIR}${BINDIR} || ${INSTALL} -d -o root ${DESTDIR}${BINDIR}
++ ${INSTALL} -c -m 555 -o root -g bin ${PROG} ${DESTDIR}${BINDIR}
++ test -d ${DESTDIR}${MAN1DIR} || ${INSTALL} -d -o root ${DESTDIR}${MAN1DIR}
++ ${INSTALL} -c -m 444 -o root -g bin ${MAN} ${DESTDIR}${MAN1DIR}
+
+ clean:
+ -@rm -f ${PROG} *~ core *.core