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 | |
parent | 745beb04b2032568092a65fa6d7c0d2babdcbd9c (diff) |
multimedia/vcdimager: Updated for version 0.7.24, cleanups.
Signed-off-by: Matteo Bernardini <ponce@slackbuilds.org>
Diffstat (limited to 'multimedia')
-rw-r--r-- | multimedia/vcdimager/vcdimager.SlackBuild | 35 | ||||
-rw-r--r-- | multimedia/vcdimager/vcdimager.info | 6 |
2 files changed, 18 insertions, 23 deletions
diff --git a/multimedia/vcdimager/vcdimager.SlackBuild b/multimedia/vcdimager/vcdimager.SlackBuild index 28b10374ae769..ef61d17058143 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 \ diff --git a/multimedia/vcdimager/vcdimager.info b/multimedia/vcdimager/vcdimager.info index fa2fd350d83f9..cfdbfe7e553f3 100644 --- a/multimedia/vcdimager/vcdimager.info +++ b/multimedia/vcdimager/vcdimager.info @@ -1,8 +1,8 @@ PRGNAM="vcdimager" -VERSION="0.7.23" +VERSION="0.7.24" HOMEPAGE="http://www.gnu.org/software/vcdimager/" -DOWNLOAD="http://mirrors.kernel.org/gnu/vcdimager/vcdimager-0.7.23.tar.gz" -MD5SUM="5e7d80fdbf0037ad20e438f2a9573253" +DOWNLOAD="http://mirrors.kernel.org/gnu/vcdimager/vcdimager-0.7.24.tar.gz" +MD5SUM="3af22978fd79c79d5fda6513b6811145" DOWNLOAD_x86_64="" MD5SUM_x86_64="" REQUIRES="" |