diff options
author | Michales Michaloudes <korgie@gmail.com> | 2010-05-13 00:31:16 +0200 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-05-13 00:31:16 +0200 |
commit | 512377c6253906f863e1f71dc072103dcd326eb5 (patch) | |
tree | 660581b2aebdf90731649060a4fa1dc2670a88bb /libraries/libmusicbrainz/libmusicbrainz.SlackBuild | |
parent | 83434141a196ecb77fa1b99b80756160e3048de4 (diff) |
libraries/libmusicbrainz: Updated for version 2.1.5
Diffstat (limited to 'libraries/libmusicbrainz/libmusicbrainz.SlackBuild')
-rw-r--r-- | libraries/libmusicbrainz/libmusicbrainz.SlackBuild | 8 |
1 files changed, 7 insertions, 1 deletions
diff --git a/libraries/libmusicbrainz/libmusicbrainz.SlackBuild b/libraries/libmusicbrainz/libmusicbrainz.SlackBuild index 9948cf091f9e..3e93f755ae38 100644 --- a/libraries/libmusicbrainz/libmusicbrainz.SlackBuild +++ b/libraries/libmusicbrainz/libmusicbrainz.SlackBuild @@ -15,10 +15,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 @@ -36,10 +39,13 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; +patch -p1 < $CWD/libmusicbrainz-2.1.5-include_stringh.patch + CFLAGS="$SLKCFLAGS" \ CXXFLAGS="$SLKCFLAGS" \ ./configure \ --prefix=/usr \ + --libdir=/usr/lib${LIBDIRSUFFIX} \ --mandir=/usr/man \ --docdir=/usr/doc/$PRGNAM-$VERSION \ --disable-static \ @@ -65,4 +71,4 @@ 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} |