diff options
author | Lenard Spencer <lenardrspencer@gmail.com> | 2020-04-17 11:27:05 +0700 |
---|---|---|
committer | Willy Sudiarto Raharjo <willysr@slackbuilds.org> | 2020-04-19 09:57:37 +0700 |
commit | adee4261fa64c5481c1eea088f2d7297e28d3dae (patch) | |
tree | 2638dd92c625faac7c9f7181ce05dcb49095ce97 /multimedia/dvdbackup/dvdbackup.SlackBuild | |
parent | 2797d7ad5b62ed9a0098824f49b94a667b5c94d2 (diff) | |
download | slackbuilds-adee4261fa64c5481c1eea088f2d7297e28d3dae.tar.gz |
multimedia/dvdbackup: Remove instructions for current.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
Diffstat (limited to 'multimedia/dvdbackup/dvdbackup.SlackBuild')
-rw-r--r-- | multimedia/dvdbackup/dvdbackup.SlackBuild | 18 |
1 files changed, 2 insertions, 16 deletions
diff --git a/multimedia/dvdbackup/dvdbackup.SlackBuild b/multimedia/dvdbackup/dvdbackup.SlackBuild index 8ada2fb78e..7eeca58d1f 100644 --- a/multimedia/dvdbackup/dvdbackup.SlackBuild +++ b/multimedia/dvdbackup/dvdbackup.SlackBuild @@ -55,8 +55,6 @@ else LIBDIRSUFFIX="" fi -CURRENT=${CURRENT:-"no"} - set -e rm -rf $PKG @@ -81,17 +79,10 @@ fi patch -p0 < $CWD/patches/do_not_treat_automake_warnings_as_errors.patch patch -p0 < $CWD/patches/remove_PATH_MAX_limitation.patch -# Patch for the new libdvdread -if [ "$CURRENT" = "yes" ]; then - patch -p1 < $CWD/patches/dvdbackup-build-with-new-libdvdread.patch -fi - CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ - --libdir=/usr/lib${LIBDIRSUFFIX} \ - --sysconfdir=/etc \ --localstatedir=/var \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ @@ -100,8 +91,8 @@ CXXFLAGS="$SLKCFLAGS" \ make make install DESTDIR=$PKG -find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ - | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true +#find $PKG -print0 | xargs -0 file | grep -e "executable" -e "shared object" | grep ELF \ +# | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true find $PKG/usr/man -type f -exec gzip -9 {} \; for i in $( find $PKG/usr/man -type l ) ; do ln -s $( readlink $i ).gz $i.gz ; rm $i ; done @@ -111,11 +102,6 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a AUTHORS COPYING $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild -if [ "$CURRENT" = "yes" ]; then - # Don't ship .la files: - rm -f $PKG/{,usr/}lib${LIBDIRSUFFIX}/*.la -fi - mkdir -p $PKG/install cat $CWD/slack-desc > $PKG/install/slack-desc |