mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
audio/milkytracker: Updated for version 0.90.80
This commit is contained in:
parent
9163d38f22
commit
d69e58eca7
4 changed files with 20 additions and 11 deletions
|
@ -1,3 +1,4 @@
|
|||
if [ -x /usr/bin/update-desktop-database ]; then
|
||||
./usr/bin/update-desktop-database -q usr/share/applications
|
||||
/usr/bin/update-desktop-database -q usr/share/applications >/dev/null 2>&1
|
||||
fi
|
||||
|
||||
|
|
|
@ -18,10 +18,13 @@ OUTPUT=${OUTPUT:-/tmp}
|
|||
# make didn't like -O2
|
||||
if [ "$ARCH" = "i486" ]; then
|
||||
SLKCFLAGS="-march=i486 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "i686" ]; then
|
||||
SLKCFLAGS="-march=i686 -mtune=i686"
|
||||
LIBDIRSUFFIX=""
|
||||
elif [ "$ARCH" = "x86_64" ]; then
|
||||
SLKCFLAGS="-fPIC"
|
||||
LIBDIRSUFFIX="64"
|
||||
fi
|
||||
|
||||
set -e
|
||||
|
@ -43,10 +46,11 @@ find . \
|
|||
CFLAGS="$SLKCFLAGS" \
|
||||
CXXFLAGS="$SLKCFLAGS" \
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man
|
||||
--prefix=/usr \
|
||||
--libdir=/usr/lib${LIBDIRSUFFIX} \
|
||||
--sysconfdir=/etc \
|
||||
--localstatedir=/var \
|
||||
--mandir=/usr/man
|
||||
|
||||
# build & install
|
||||
make || exit
|
||||
|
@ -61,13 +65,15 @@ mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION
|
|||
cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild
|
||||
|
||||
( cd $PKG
|
||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true
|
||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null
|
||||
find . | xargs file | grep "executable" | grep ELF | cut -f 1 -d : | \
|
||||
xargs strip --strip-unneeded 2> /dev/null || true
|
||||
find . | xargs file | grep "shared object" | grep ELF | cut -f 1 -d : | \
|
||||
xargs strip --strip-unneeded 2> /dev/null
|
||||
)
|
||||
|
||||
mkdir -p $PKG/install
|
||||
cat $CWD/slack-desc > $PKG/install/slack-desc
|
||||
|
||||
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}
|
||||
|
||||
|
|
|
@ -2,7 +2,9 @@ PRGNAM="milkytracker"
|
|||
VERSION="0.90.80"
|
||||
HOMEPAGE="http://www.milkytracker.net/"
|
||||
DOWNLOAD="http://www.milkytracker.net/files/milkytracker-0.90.80.tar.bz2"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM="f8090ac13ec2f3cf89af483d1483d16c"
|
||||
MD5SUM_x86_64=""
|
||||
MAINTAINER="Nikolas Nyby"
|
||||
EMAIL="machpizza@gmail.com"
|
||||
APPROVED="David Somero"
|
||||
APPROVED="dsomero"
|
||||
|
|
|
@ -5,15 +5,15 @@
|
|||
# exactly 11 lines for the formatting to be correct. It's also customary to
|
||||
# leave one space after the ':'.
|
||||
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
|-----handy-ruler------------------------------------------------------|
|
||||
milkytracker: MilkyTracker (an open source, multi-platform music tracker)
|
||||
milkytracker:
|
||||
milkytracker: MilkyTracker is a music editor inspired by the DOS program
|
||||
milkytracker: Fasttracker II. MilkyTracker can export .MOD and .XM file
|
||||
milkytracker: formats.
|
||||
milkytracker:
|
||||
milkytracker: Homepage: http://www.milkytracker.net
|
||||
milkytracker:
|
||||
milkytracker:
|
||||
milkytracker:
|
||||
milkytracker: MilkyTracker's website is http://www.milkytracker.net/
|
||||
milkytracker:
|
||||
|
|
Loading…
Reference in a new issue