Browse Source

l/lilv-0: Upgraded to lilv-0.24.6.

current-20191101
Damien Goutte-Gattat 2 years ago
parent
commit
4db8ba7eba
  1. 1
      l/lilv-0/lilv-0.22.0.tar.bz2.sha1
  2. 1
      l/lilv-0/lilv-0.24.6.tar.bz2.sha256
  3. 30
      l/lilv-0/lilv-0.SlackBuild

1
l/lilv-0/lilv-0.22.0.tar.bz2.sha1

@ -1 +0,0 @@
87e77826c7071a4035d4a4f093fb28ce363918c8 lilv-0.22.0.tar.bz2

1
l/lilv-0/lilv-0.24.6.tar.bz2.sha256

@ -0,0 +1 @@
5f544cf79656e0782a03a2cc7ab1d31a93f36d71d4187bd427ade8d7b55370dc lilv-0.24.6.tar.bz2

30
l/lilv-0/lilv-0.SlackBuild

@ -1,6 +1,6 @@
#!/bin/bash
# Build script for Slackware
# Copyright (C) 2013,2016 Damien Goutte-Gattat
# Copyright (C) 2013,2016,2019 Damien Goutte-Gattat
#
# Redistribution and use of this script, with or without modifications,
# is permitted provided that the following conditions are met:
@ -29,7 +29,7 @@
# Source package infos
NAMESRC=${NAMESRC:-lilv}
VERSION=${VERSION:-0.22.0}
VERSION=${VERSION:-0.24.6}
ARCHIVE=${ARCHIVE:-$NAMESRC-$VERSION.tar.bz2}
WGET=${WGET:-http://download.drobilla.net/$ARCHIVE}
@ -78,7 +78,7 @@ if [ ! -r $ARCHIVE ]; then
wget -c -O $ARCHIVE.part "$WGET"
mv $ARCHIVE.part $ARCHIVE
fi
sha1sum -c $ARCHIVE.sha1
sha256sum -c $ARCHIVE.sha256
NAME=$(tar ft $ARCHIVE | head -n 1 | cut -d / -f 1)
# Compile
@ -91,7 +91,22 @@ CXXFLAGS=$CPUOPT \
./waf configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--mandir=/usr/man
--mandir=/usr/man \
--python=/usr/bin/python2
./waf build -j $JOBS
./waf install --destdir=$PKG
# Rebuild once again to build the Python3 bindings
# (there should be a way to rebuild only the bindings
# themselves instead of the full package...)
./waf distclean
CFLAGS=$CPUOPT \
CXXFLAGS=$CPUOPT \
./waf configure \
--prefix=/usr \
--libdir=/usr/lib$LIBDIRSUFFIX \
--mandir=/usr/man \
--python=/usr/bin/python3
./waf build -j $JOBS
./waf install --destdir=$PKG
@ -107,11 +122,16 @@ mv $PKG/usr/etc $PKG/etc
# Install the documentation
mkdir -p $PKG/usr/doc/$NAME
install -m 644 AUTHORS COPYING NEWS README $PKG/usr/doc/$NAME
install -m 644 AUTHORS COPYING NEWS README.md $PKG/usr/doc/$NAME
# Copy slack-desc file
install -D -m 644 $CWD/slack-desc $PKG/install/slack-desc
# Add dependency infos
cat <<EOF > $PKG/install/slack-required
sratom-0
EOF
# Package the tree
cd $PKG
mkdir -p $OUT

Loading…
Cancel
Save