From 492fdc65cf351164b1739a16cfa74674abb030d7 Mon Sep 17 00:00:00 2001 From: rafael2k Date: Tue, 31 Oct 2006 01:14:17 +0000 Subject: oggfwd added git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@548 370017ae-e619-0410-ac65-c121f96126d4 --- oggfwd/oggfwd-0.2.diff | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 oggfwd/oggfwd-0.2.diff (limited to 'oggfwd/oggfwd-0.2.diff') 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 -- cgit v1.2.3