From a4c74adb156c38f9e45e43ffc4c81c72369e6c70 Mon Sep 17 00:00:00 2001 From: rhatto Date: Fri, 6 Oct 2006 12:32:02 +0000 Subject: libdv: now applying debian patches git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@354 370017ae-e619-0410-ac65-c121f96126d4 --- libdv/libdv.SlackBuild | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) (limited to 'libdv/libdv.SlackBuild') diff --git a/libdv/libdv.SlackBuild b/libdv/libdv.SlackBuild index abedcdb8..83515e02 100755 --- a/libdv/libdv.SlackBuild +++ b/libdv/libdv.SlackBuild @@ -74,6 +74,13 @@ if [ -f "$CWD/$PACKAGE-$VERSION.diff" ]; then patch -p1 < $CWD/$PACKAGE-$VERSION.diff fi +# apply debian patches, if exist +if [ -d "debian/patches" ]; then + for file in `ls debian/patches/*patch`; do + patch -p1 < $file + done +fi + ./configure --prefix=/usr --sysconfdir=/etc --libdir=$LIBDIR make make DESTDIR=$TMP/package-$PACKAGE install @@ -81,7 +88,6 @@ make DESTDIR=$TMP/package-$PACKAGE install CWD="`pwd`" cd $TMP/package-$PACKAGE - find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null -- cgit v1.2.3