diff options
author | Matteo Bernardini <ponce@slackbuilds.org> | 2013-11-23 09:25:00 +0100 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2013-11-24 08:35:15 -0600 |
commit | 96a22717641a7aa8d396220f2a2e2aa5cd32add4 (patch) | |
tree | 1b75918badaf7ea5d6bec28c1741b25a15e27169 /multimedia/vcdimager/vcdimager.SlackBuild | |
parent | 745beb04b2032568092a65fa6d7c0d2babdcbd9c (diff) |
multimedia/vcdimager: Updated for version 0.7.24, cleanups.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'multimedia/vcdimager/vcdimager.SlackBuild')
-rw-r--r-- | multimedia/vcdimager/vcdimager.SlackBuild | 35 |
1 files changed, 15 insertions, 20 deletions
diff --git a/multimedia/vcdimager/vcdimager.SlackBuild b/multimedia/vcdimager/vcdimager.SlackBuild index 28b10374ae76..ef61d1705814 100644 --- a/multimedia/vcdimager/vcdimager.SlackBuild +++ b/multimedia/vcdimager/vcdimager.SlackBuild @@ -17,8 +17,8 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. PRGNAM=vcdimager -VERSION=0.7.23 -BUILD=${BUILD:-2} +VERSION=${VERSION:-0.7.24} +BUILD=${BUILD:-1} TAG=${TAG:-_SBo} if [ -z "$ARCH" ]; then @@ -35,14 +35,14 @@ PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ] ; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" - LIBDIRSUFFIX="" + SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ] ; then - SLKCFLAGS="-O2 -march=i686 -mtune=i686" - LIBDIRSUFFIX="" + SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ] ; then - SLKCFLAGS="-O2 -fPIC" - LIBDIRSUFFIX="64" + SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" else SLKCFLAGS="-O2" LIBDIRSUFFIX="" @@ -55,7 +55,6 @@ mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION tar xvf $CWD/$PRGNAM-$VERSION.tar.?z* - cd $PRGNAM-$VERSION chown -R root:root . find -L . \ @@ -71,24 +70,20 @@ CXXFLAGS="$SLKCFLAGS" \ --mandir=/usr/man \ --infodir=/usr/info \ --libdir=/usr/lib${LIBDIRSUFFIX} \ + --disable-static \ --build=$ARCH-slackware-linux make make DESTDIR=$PKG install -( cd $PKG/usr/man - find -type f -exec gzip -9 {} \; - for deadlink in $(find -type l ! -iname "*.gz"); do - ln -s $(readlink $deadlink).gz $deadlink.gz - rm $deadlink - done -) +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 -rm -rf $PKG/usr/info/dir -gzip -9 $PKG/usr/info/* +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 -find $PKG -type f | xargs file | grep ELF | cut -f1 -d: | \ - xargs strip --strip-unneeded 2> /dev/null || true +rm -f $PKG/usr/info/dir +gzip -9 $PKG/usr/info/*.info* mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION cp -a \ |