aboutsummaryrefslogtreecommitdiff
path: root/libdv
diff options
context:
space:
mode:
authorrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-10-06 12:32:02 +0000
committerrhatto <rhatto@370017ae-e619-0410-ac65-c121f96126d4>2006-10-06 12:32:02 +0000
commita4c74adb156c38f9e45e43ffc4c81c72369e6c70 (patch)
tree4459b38067fa72aaf851fefbf92993745a42eac0 /libdv
parent7c657ccab42173babf550d497f09a93b174b51cb (diff)
downloadslackbuilds-a4c74adb156c38f9e45e43ffc4c81c72369e6c70.tar.gz
slackbuilds-a4c74adb156c38f9e45e43ffc4c81c72369e6c70.tar.bz2
libdv: now applying debian patches
git-svn-id: svn+slack://slack.fluxo.info/var/svn/slackbuilds@354 370017ae-e619-0410-ac65-c121f96126d4
Diffstat (limited to 'libdv')
-rwxr-xr-xlibdv/libdv.SlackBuild8
1 files changed, 7 insertions, 1 deletions
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