mirror of
https://github.com/Ponce/slackbuilds
synced 2024-11-22 19:44:21 +01:00
perl/perl-WebService-MusicBrainz: Updated for version 0.94.
Signed-off-by: Willy Sudiarto Raharjo <willysr@slackbuilds.org>
This commit is contained in:
parent
a43f738b71
commit
e1cda27128
2 changed files with 9 additions and 12 deletions
|
@ -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
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
PRGNAM="perl-WebService-MusicBrainz"
|
||||
VERSION="0.93"
|
||||
VERSION="0.94"
|
||||
HOMEPAGE="https://metacpan.org/pod/WebService::MusicBrainz"
|
||||
DOWNLOAD="http://www.cpan.org/authors/id/B/BF/BFAIST/WebService-MusicBrainz-0.93.tar.gz"
|
||||
MD5SUM="120bdefa3fc317a44aa00a92bd29297c"
|
||||
DOWNLOAD="https://cpan.metacpan.org/authors/id/B/BF/BFAIST/WebService-MusicBrainz-0.94.tar.gz"
|
||||
MD5SUM="c6c2e0c1e512482fd17330c41883342f"
|
||||
DOWNLOAD_x86_64=""
|
||||
MD5SUM_x86_64=""
|
||||
REQUIRES="libwww-perl perl-class-accessor perl-xml-libxml"
|
||||
|
|
Loading…
Reference in a new issue