diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2010-05-12 17:41:32 +0200 |
---|---|---|
committer | David Somero <xgizzmo@slackbuilds.org> | 2010-05-12 17:41:32 +0200 |
commit | f912a2fd081f2f8c65686b5a6ce549b26aede8ed (patch) | |
tree | 3bb4a619e50112c9b668bc4f05767c1039fb405c /libraries/libmpeg2 | |
parent | abb6a9712763a9d4425087526d8eeca76b2bb2c3 (diff) | |
download | slackbuilds-f912a2fd081f2f8c65686b5a6ce549b26aede8ed.tar.gz |
libraries/libmpeg2: Updated for version 0.5.1
Diffstat (limited to 'libraries/libmpeg2')
-rw-r--r-- | libraries/libmpeg2/libmpeg2.SlackBuild | 14 | ||||
-rw-r--r-- | libraries/libmpeg2/libmpeg2.info | 2 |
2 files changed, 10 insertions, 6 deletions
diff --git a/libraries/libmpeg2/libmpeg2.SlackBuild b/libraries/libmpeg2/libmpeg2.SlackBuild index 8b806beaf7..1bfa54c0b6 100644 --- a/libraries/libmpeg2/libmpeg2.SlackBuild +++ b/libraries/libmpeg2/libmpeg2.SlackBuild @@ -37,10 +37,13 @@ OUTPUT=${OUTPUT:-/tmp} if [ "$ARCH" = "i486" ]; then SLKCFLAGS="-O2 -march=i486 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" + LIBDIRSUFFIX="" elif [ "$ARCH" = "x86_64" ]; then SLKCFLAGS="-O2 -fPIC" + LIBDIRSUFFIX="64" fi set -e @@ -49,7 +52,7 @@ rm -rf $PKG mkdir -p $TMP $PKG $OUTPUT cd $TMP rm -rf $PRGNAM-$VERSION -tar -xzvf $CWD/$PRGNAM-$VERSION.tar.gz +tar xvf $CWD/$PRGNAM-$VERSION.tar.gz cd $PRGNAM-$VERSION chown -R root:root . find . \ @@ -62,11 +65,11 @@ CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --enable-shared \ --disable-static \ - --build=$ARCH-slackware-linux \ - --host=$ARCH-slackware-linux + --build=$ARCH-slackware-linux make make install DESTDIR=$PKG @@ -80,8 +83,9 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ ) mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a AUTHORS ChangeLog CodingStyle COPYING INSTALL NEWS \ - README TODO doc/*.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -a \ + AUTHORS ChangeLog CodingStyle COPYING INSTALL NEWS README TODO doc/*.txt \ + $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install diff --git a/libraries/libmpeg2/libmpeg2.info b/libraries/libmpeg2/libmpeg2.info index 94ef3603f0..852b424bb2 100644 --- a/libraries/libmpeg2/libmpeg2.info +++ b/libraries/libmpeg2/libmpeg2.info @@ -5,4 +5,4 @@ DOWNLOAD="http://libmpeg2.sourceforge.net/files/libmpeg2-0.5.1.tar.gz" MD5SUM="0f92c7454e58379b4a5a378485bbd8ef" MAINTAINER="ppr:kut" EMAIL="pprkut@liwjatan.at" -APPROVED="dsomero" +APPROVED="dsomero,rworkman" |