mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-18 22:06:04 +01:00
libraries/libmp3splt: Updated for version 0.5.7a
This commit is contained in:
parent
3ba9558058
commit
3e7fc76ed8
2 changed files with 13 additions and 7 deletions
|
@ -5,7 +5,7 @@
|
||||||
# Written by Roberto Neri <rneri@libero.it>
|
# Written by Roberto Neri <rneri@libero.it>
|
||||||
|
|
||||||
PRGNAM=libmp3splt
|
PRGNAM=libmp3splt
|
||||||
VERSION=${VERSION:-0.5.4}
|
VERSION=${VERSION:-0.5.7a}
|
||||||
ARCH=${ARCH:-i486}
|
ARCH=${ARCH:-i486}
|
||||||
BUILD=${BUILD:-1}
|
BUILD=${BUILD:-1}
|
||||||
TAG=${TAG:-_SBo}
|
TAG=${TAG:-_SBo}
|
||||||
|
@ -17,10 +17,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
||||||
|
|
||||||
if [ "$ARCH" = "i486" ]; then
|
if [ "$ARCH" = "i486" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i486 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "i686" ]; then
|
elif [ "$ARCH" = "i686" ]; then
|
||||||
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
SLKCFLAGS="-O2 -march=i686 -mtune=i686"
|
||||||
|
LIBDIRSUFFIX=""
|
||||||
elif [ "$ARCH" = "x86_64" ]; then
|
elif [ "$ARCH" = "x86_64" ]; then
|
||||||
SLKCFLAGS="-O2 -fPIC"
|
SLKCFLAGS="-O2 -fPIC"
|
||||||
|
LIBDIRSUFFIX="64"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
set -e
|
set -e
|
||||||
|
@ -42,6 +45,7 @@ CFLAGS="$SLKCFLAGS" \
|
||||||
CXXFLAGS="$SLKCFLAGS" \
|
CXXFLAGS="$SLKCFLAGS" \
|
||||||
./configure \
|
./configure \
|
||||||
--prefix=/usr \
|
--prefix=/usr \
|
||||||
|
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||||
--disable-static \
|
--disable-static \
|
||||||
--build=$ARCH-slackware-linux
|
--build=$ARCH-slackware-linux
|
||||||
|
|
||||||
|
@ -56,7 +60,7 @@ make install DESTDIR=$PKG
|
||||||
)
|
)
|
||||||
|
|
||||||
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cp -a AUTHORS ChangeLog COPYING INSTALL LIMITS NEWS README TODO \
|
cp -a ABOUT-NLS AUTHORS ChangeLog COPYING INSTALL LIMITS NEWS README TODO \
|
||||||
$PKG/usr/doc/$PRGNAM-$VERSION
|
$PKG/usr/doc/$PRGNAM-$VERSION
|
||||||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||||
|
|
||||||
|
@ -64,4 +68,4 @@ mkdir -p $PKG/install
|
||||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||||
|
|
||||||
cd $PKG
|
cd $PKG
|
||||||
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.tgz
|
/sbin/makepkg -l y -c n $OUTPUT/$PRGNAM-$VERSION-$ARCH-$BUILD$TAG.${PKGTYPE:-tgz}
|
||||||
|
|
|
@ -1,8 +1,10 @@
|
||||||
PRGNAM="libmp3splt"
|
PRGNAM="libmp3splt"
|
||||||
VERSION="0.5.4"
|
VERSION="0.5.7a"
|
||||||
HOMEPAGE="http://mp3splt.sourceforge.net"
|
HOMEPAGE="http://mp3splt.sourceforge.net"
|
||||||
DOWNLOAD="http://downloads.sourceforge.net/mp3splt/libmp3splt-0.5.4.tar.gz"
|
DOWNLOAD="http://downloads.sourceforge.net/mp3splt/libmp3splt-0.5.7a.tar.gz"
|
||||||
MD5SUM="a65f63dc9c176dabff3c6c85c4c3bf2c"
|
DOWNLOAD_x86_64=""
|
||||||
|
MD5SUM="93fd67d55b500735f1c42d260518505d"
|
||||||
|
MD5SUM_x86_64=""
|
||||||
MAINTAINER="Roberto Neri"
|
MAINTAINER="Roberto Neri"
|
||||||
EMAIL="rneri@libero.it"
|
EMAIL="rneri@libero.it"
|
||||||
APPROVED="rworkman"
|
APPROVED="dsomero"
|
||||||
|
|
Loading…
Reference in a new issue