diff options
Diffstat (limited to 'perl/perl-WebService-MusicBrainz/perl-WebService-MusicBrainz.SlackBuild')
-rw-r--r-- | perl/perl-WebService-MusicBrainz/perl-WebService-MusicBrainz.SlackBuild | 15 |
1 files changed, 6 insertions, 9 deletions
diff --git a/perl/perl-WebService-MusicBrainz/perl-WebService-MusicBrainz.SlackBuild b/perl/perl-WebService-MusicBrainz/perl-WebService-MusicBrainz.SlackBuild index 11d73e4d69..ac60c700d7 100644 --- a/perl/perl-WebService-MusicBrainz/perl-WebService-MusicBrainz.SlackBuild +++ b/perl/perl-WebService-MusicBrainz/perl-WebService-MusicBrainz.SlackBuild @@ -17,7 +17,7 @@ # OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. PRGNAM=perl-WebService-MusicBrainz -VERSION=${VERSION:-0.93} +VERSION=${VERSION:-0.94} BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -25,7 +25,7 @@ SRCNAM="$(printf $PRGNAM | cut -d- -f2-)" if [ -z "$ARCH" ]; then case "$( uname -m )" in - i?86) ARCH=i486 ;; + i?86) ARCH=i586 ;; arm*) ARCH=arm ;; *) ARCH=$( uname -m ) ;; esac @@ -36,8 +36,8 @@ TMP=${TMP:-/tmp/SBo} PKG=$TMP/package-$PRGNAM OUTPUT=${OUTPUT:-/tmp} -if [ "$ARCH" = "i486" ]; then - SLKCFLAGS="-O2 -march=i486 -mtune=i686" +if [ "$ARCH" = "i586" ]; then + SLKCFLAGS="-O2 -march=i586 -mtune=i686" LIBDIRSUFFIX="" elif [ "$ARCH" = "i686" ]; then SLKCFLAGS="-O2 -march=i686 -mtune=i686" @@ -66,14 +66,11 @@ find -L . \ -o -perm 440 -o -perm 400 \) -exec chmod 644 {} \; perl Makefile.PL \ - PREFIX=/usr \ INSTALLDIRS=vendor \ INSTALLVENDORMAN1DIR=/usr/man/man1 \ INSTALLVENDORMAN3DIR=/usr/man/man3 make -# The test suite requires a network connection and also contains outdated -# music metadata, which has changed in the online database since the test -# suite was written. +# The test suite requires a network connection. #make test make install DESTDIR=$PKG @@ -85,7 +82,7 @@ find $PKG -name perllocal.pod -o -name ".packlist" -o -name "*.bs" | xargs rm -f find $PKG -depth -type d -empty -delete || true mkdir -p $PKG/usr/doc/$PRGNAM-$VERSION -cp -a Changes README $PKG/usr/doc/$PRGNAM-$VERSION +cp -a Changes README.md $PKG/usr/doc/$PRGNAM-$VERSION cat $CWD/$PRGNAM.SlackBuild > $PKG/usr/doc/$PRGNAM-$VERSION/$PRGNAM.SlackBuild mkdir -p $PKG/install |