diff options
author | Larry Hajali <larryhaja[at]gmail[dot]com> | 2010-10-15 22:04:49 -0500 |
---|---|---|
committer | Robby Workman <rworkman@slackbuilds.org> | 2010-10-15 22:04:49 -0500 |
commit | 91e62177b4609cb34fd1d4063287ec4e39879794 (patch) | |
tree | 73eeb931b23a66657a191905b098749ddfb45b42 /libraries/libmusicbrainz3/libmusicbrainz3.SlackBuild | |
parent | d6b4e155aa496d5b5d6918fe50dccaa637221db9 (diff) |
libraries/libmusicbrainz3: Updated for version 3.0.3.
Signed-off-by: Robby Workman <rworkman@slackbuilds.org>
Diffstat (limited to 'libraries/libmusicbrainz3/libmusicbrainz3.SlackBuild')
-rw-r--r-- | libraries/libmusicbrainz3/libmusicbrainz3.SlackBuild | 24 |
1 files changed, 11 insertions, 13 deletions
diff --git a/libraries/libmusicbrainz3/libmusicbrainz3.SlackBuild b/libraries/libmusicbrainz3/libmusicbrainz3.SlackBuild index 1f571516dbbb..b2e26152d422 100644 --- a/libraries/libmusicbrainz3/libmusicbrainz3.SlackBuild +++ b/libraries/libmusicbrainz3/libmusicbrainz3.SlackBuild @@ -5,18 +5,16 @@ # Written by Larry Hajali <larryhaja[at]gmail[dot]com> PRGNAM=libmusicbrainz3 -VERSION=${VERSION:-3.0.2} +VERSION=3.0.3 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} SRCNAM=libmusicbrainz -# Automatically determine the architecture we're building on: if [ -z "$ARCH" ]; then case "$( uname -m )" in i?86) ARCH=i486 ;; arm*) ARCH=arm ;; - # Unless $ARCH is already set, use uname -m for all other archs: *) ARCH=$( uname -m ) ;; esac fi @@ -55,16 +53,16 @@ find . \ \( -perm 666 -o -perm 664 -o -perm 600 -o -perm 444 -o -perm 440 -o -perm 400 \) \ -exec chmod 644 {} \; -patch -p1 < $CWD/patches/gcc-4.3.patch -patch -p1 < $CWD/patches/pkgconfig-private.patch +mkdir -p build +cd build + cmake \ + -DCMAKE_INSTALL_PREFIX:PATH=/usr \ + -DLIB_SUFFIX=${LIBDIRSUFFIX} \ + -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ + -DCMAKE_BUILD_TYPE=Release .. -mkdir build && cd build - cmake -DCMAKE_INSTALL_PREFIX:PATH=/usr \ - -DLIB_SUFFIX=${LIBDIRSUFFIX} \ - -DCMAKE_CXX_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_C_FLAGS:STRING="$SLKCFLAGS" \ - -DCMAKE_BUILD_TYPE=Release .. - make + make VERBOSE=1 make install DESTDIR=$PKG cd - @@ -72,7 +70,7 @@ find $PKG | xargs file | grep -e "executable" -e "shared object" | grep ELF \ | cut -f 1 -d : | xargs strip --strip-unneeded 2> /dev/null || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a *.txt $PKG/usr/doc/$PRGNAM-$VERSION +cp -a {AUTHORS,COPYING,NEWS,README}.txt $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |