wok-next rev 20341
Up (v2): serd, sord, uhd, umfpack, unbound
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 17 16:52:00 2017 +0200 (2017-11-17) |
parents | fdfd62313081 |
children | 6075d0e56a8f |
files | serd-dev/receipt serd/receipt sord-dev/receipt sord/receipt uhd-dev/receipt uhd/receipt umfpack-dev/receipt umfpack/receipt unbound-dev/receipt unbound/receipt |
line diff
1.1 --- a/serd-dev/receipt Fri Nov 17 12:53:08 2017 +0100 1.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 1.3 @@ -1,20 +0,0 @@ 1.4 -# SliTaz package receipt. 1.5 - 1.6 -PACKAGE="serd-dev" 1.7 -VERSION="0.18.0" 1.8 -CATEGORY="development" 1.9 -SHORT_DESC="A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples, development files." 1.10 -MAINTAINER="pascal.bellard@slitaz.org" 1.11 -LICENSE="ISC" 1.12 -WEB_SITE="http://drobilla.net/software/serd/" 1.13 -WANTED="serd" 1.14 - 1.15 -DEPENDS="serd pkg-config" 1.16 - 1.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.18 -genpkg_rules() 1.19 -{ 1.20 - mkdir -p $fs/usr/lib 1.21 - cp -a $install/usr/include $fs/usr 1.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 1.23 -}
2.1 --- a/serd/receipt Fri Nov 17 12:53:08 2017 +0100 2.2 +++ b/serd/receipt Fri Nov 17 16:52:00 2017 +0200 2.3 @@ -1,31 +1,28 @@ 2.4 -# SliTaz package receipt. 2.5 +# SliTaz package receipt v2. 2.6 2.7 PACKAGE="serd" 2.8 VERSION="0.18.0" 2.9 CATEGORY="development" 2.10 -SHORT_DESC="A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples." 2.11 +SHORT_DESC="A lightweight C library for RDF syntax which supports reading and writing Turtle and NTriples" 2.12 MAINTAINER="pascal.bellard@slitaz.org" 2.13 LICENSE="ISC" 2.14 +WEB_SITE="http://drobilla.net/software/serd/" 2.15 + 2.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 2.17 -WEB_SITE="http://drobilla.net/software/serd/" 2.18 WGET_URL="http://download.drobilla.net/$TARBALL" 2.19 2.20 -DEPENDS="" 2.21 -BUILD_DEPENDS="" 2.22 +BUILD_DEPENDS="python" 2.23 +SPLIT="serd-dev" 2.24 2.25 -# Rules to configure and make the package. 2.26 -compile_rules() 2.27 -{ 2.28 - cd $src 2.29 +compile_rules() { 2.30 ./waf configure --prefix=/usr && 2.31 ./waf build && 2.32 ./waf install --destdir=$DESTDIR 2.33 } 2.34 2.35 -# Rules to gen a SliTaz package suitable for Tazpkg. 2.36 -genpkg_rules() 2.37 -{ 2.38 - mkdir -p $fs/usr/lib 2.39 - cp -a $install/usr/bin $fs/usr 2.40 - cp -a $install/usr/lib/lib* $fs/usr/lib 2.41 +genpkg_rules() { 2.42 + case $PACKAGE in 2.43 + serd) copy @std;; 2.44 + *-dev) copy @dev;; 2.45 + esac 2.46 }
3.1 --- a/sord-dev/receipt Fri Nov 17 12:53:08 2017 +0100 3.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 3.3 @@ -1,20 +0,0 @@ 3.4 -# SliTaz package receipt. 3.5 - 3.6 -PACKAGE="sord-dev" 3.7 -VERSION="0.8.0" 3.8 -CATEGORY="development" 3.9 -SHORT_DESC="A lightweight C library for storing RDF data in memory, development files." 3.10 -MAINTAINER="pascal.bellard@slitaz.org" 3.11 -LICENSE="ISC" 3.12 -WEB_SITE="http://drobilla.net/software/sord/" 3.13 -WANTED="sord" 3.14 - 3.15 -DEPENDS="sord pkg-config" 3.16 - 3.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 3.18 -genpkg_rules() 3.19 -{ 3.20 - mkdir -p $fs/usr/lib 3.21 - cp -a $install/usr/include $fs/usr 3.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 3.23 -}
4.1 --- a/sord/receipt Fri Nov 17 12:53:08 2017 +0100 4.2 +++ b/sord/receipt Fri Nov 17 16:52:00 2017 +0200 4.3 @@ -1,31 +1,34 @@ 4.4 -# SliTaz package receipt. 4.5 +# SliTaz package receipt v2. 4.6 4.7 PACKAGE="sord" 4.8 VERSION="0.8.0" 4.9 CATEGORY="development" 4.10 -SHORT_DESC="A lightweight C library for storing RDF data in memory." 4.11 +SHORT_DESC="A lightweight C library for storing RDF data in memory" 4.12 MAINTAINER="pascal.bellard@slitaz.org" 4.13 LICENSE="ISC" 4.14 +WEB_SITE="http://drobilla.net/software/sord/" 4.15 + 4.16 TARBALL="$PACKAGE-$VERSION.tar.bz2" 4.17 -WEB_SITE="http://drobilla.net/software/sord/" 4.18 WGET_URL="http://download.drobilla.net/$TARBALL" 4.19 4.20 -DEPENDS="serd pcre" 4.21 -BUILD_DEPENDS="pkg-config serd-dev pcre" 4.22 +BUILD_DEPENDS="python serd-dev pcre-dev" 4.23 +SPLIT="sord-dev" 4.24 4.25 -# Rules to configure and make the package. 4.26 -compile_rules() 4.27 -{ 4.28 - cd $src 4.29 +compile_rules() { 4.30 ./waf configure --prefix=/usr && 4.31 ./waf build && 4.32 ./waf install --destdir=$DESTDIR 4.33 } 4.34 4.35 -# Rules to gen a SliTaz package suitable for Tazpkg. 4.36 -genpkg_rules() 4.37 -{ 4.38 - mkdir -p $fs/usr/lib 4.39 - cp -a $install/usr/bin $fs/usr 4.40 - cp -a $install/usr/lib/lib* $fs/usr/lib 4.41 +genpkg_rules() { 4.42 + case $PACKAGE in 4.43 + sord) 4.44 + copy @std 4.45 + DEPENDS="pcre serd" 4.46 + ;; 4.47 + *-dev) 4.48 + copy @dev 4.49 + DEPENDS="sord serd-dev" 4.50 + ;; 4.51 + esac 4.52 }
5.1 --- a/uhd-dev/receipt Fri Nov 17 12:53:08 2017 +0100 5.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 5.3 @@ -1,21 +0,0 @@ 5.4 -# SliTaz package receipt. 5.5 - 5.6 -PACKAGE="uhd-dev" 5.7 -VERSION="release_003_009_003" 5.8 -CATEGORY="development" 5.9 -SHORT_DESC="The USRP(tm) Hardware Driver, development files." 5.10 -MAINTAINER="pascal.bellard@slitaz.org" 5.11 -LICENSE="GPL2" 5.12 -WEB_SITE="https://github.com/EttusResearch/uhd" 5.13 - 5.14 -WANTED="uhd" 5.15 -DEPENDS="uhd pkg-config cmake" 5.16 - 5.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 5.18 -genpkg_rules() 5.19 -{ 5.20 - mkdir -p $fs/usr/lib 5.21 - cp -a $install/usr/lib/cmake $fs/usr/lib 5.22 - cp -a $install/usr/lib/pkgconfig $fs/usr/lib 5.23 - cp -a $install/usr/include $fs/usr 5.24 -}
6.1 --- a/uhd/receipt Fri Nov 17 12:53:08 2017 +0100 6.2 +++ b/uhd/receipt Fri Nov 17 16:52:00 2017 +0200 6.3 @@ -1,41 +1,49 @@ 6.4 -# SliTaz package receipt. 6.5 +# SliTaz package receipt v2. 6.6 6.7 PACKAGE="uhd" 6.8 -VERSION="release_003_009_003" 6.9 +VERSION="3.10.2.0"; FANCY_VERSION="release_003_010_002_000" 6.10 CATEGORY="network" 6.11 -SHORT_DESC="The USRP(tm) Hardware Driver." 6.12 +SHORT_DESC="The USRP(tm) Hardware Driver" 6.13 MAINTAINER="pascal.bellard@slitaz.org" 6.14 LICENSE="GPL2" 6.15 +WEB_SITE="https://github.com/EttusResearch/uhd" 6.16 + 6.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 6.18 -WEB_SITE="https://github.com/EttusResearch/uhd" 6.19 -WGET_URL="$WEB_SITE/archive/$VERSION.tar.gz" 6.20 +WGET_URL="$WEB_SITE/archive/$FANCY_VERSION.tar.gz" 6.21 6.22 -DEPENDS="libboost-date-time libboost-filesystem libboost-program-options \ 6.23 -libboost-regex libboost-system libboost-unit-test-framework libboost-serialization \ 6.24 -libboost-thread libboost-math-tr1 udev python" 6.25 -BUILD_DEPENDS="wget cmake python python-mako libboost-dev libboost-date-time \ 6.26 +BUILD_DEPENDS="cmake python python-mako libboost-dev libboost-date-time \ 6.27 libboost-filesystem libboost-program-options libboost-regex \ 6.28 libboost-system libboost-unit-test-framework libboost-serialization \ 6.29 -libboost-thread libboost-math-tr1 libusb-dev udev-dev" 6.30 +libboost-thread libboost-math-tr1 libusb-dev eudev-dev" 6.31 +SPLIT="uhd-dev" 6.32 6.33 -# Rules to configure and make the package. 6.34 -compile_rules() 6.35 -{ 6.36 +compile_rules() { 6.37 cd $src/host 6.38 mkdir build 6.39 cd build 6.40 - cmake .. -DENABLE_MANUAL=OFF -DENABLE_DOXYGEN=OFF \ 6.41 - -DENABLE_MAN_PAGES=OFF -DENABLE_B200=ON -DENABLE_USB=ON \ 6.42 - -DCMAKE_INSTALL_PREFIX=/usr 6.43 - make && make DESTDIR=$DESTDIR install 6.44 + cmake \ 6.45 + -DCMAKE_INSTALL_PREFIX=/usr \ 6.46 + -DENABLE_MANUAL=OFF \ 6.47 + -DENABLE_DOXYGEN=OFF \ 6.48 + -DENABLE_MAN_PAGES=OFF \ 6.49 + -DENABLE_B200=ON \ 6.50 + -DENABLE_USB=ON \ 6.51 + .. && 6.52 + make && make install 6.53 } 6.54 6.55 -# Rules to gen a SliTaz package suitable for Tazpkg. 6.56 -genpkg_rules() 6.57 -{ 6.58 - mkdir -p $fs/usr/lib 6.59 - cp -a $install/usr/lib/*.so* $fs/usr/lib 6.60 - cp -a $install/usr/lib/uhd $fs/usr/lib 6.61 - cp -a $install/usr/bin $fs/usr 6.62 - cp -a $install/usr/share $fs/usr 6.63 +genpkg_rules() { 6.64 + case $PACKAGE in 6.65 + uhd) 6.66 + copy @std 6.67 + DEPENDS="libboost-chrono libboost-date-time libboost-filesystem \ 6.68 + libboost-program-options libboost-regex libboost-serialization \ 6.69 + libboost-system libboost-thread libboost-unit-test-framework \ 6.70 + libusb ncurses ncurses-libform python libboost-math-tr1 eudev" 6.71 + ;; 6.72 + *-dev) 6.73 + copy @dev 6.74 + DEPENDS="uhd" 6.75 + ;; 6.76 + esac 6.77 }
7.1 --- a/umfpack-dev/receipt Fri Nov 17 12:53:08 2017 +0100 7.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 7.3 @@ -1,20 +0,0 @@ 7.4 -# SliTaz package receipt. 7.5 - 7.6 -PACKAGE="umfpack-dev" 7.7 -VERSION="4.4.4" 7.8 -CATEGORY="development" 7.9 -SHORT_DESC="Multifrontal LU factorization." 7.10 -MAINTAINER="pascal.bellard@slitaz.org" 7.11 -LICENSE="GPL2" 7.12 -WEB_SITE="http://faculty.cse.tamu.edu/davis/suitesparse.html" 7.13 -WANTED="umfpack" 7.14 - 7.15 -DEPENDS="umfpack" 7.16 - 7.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 7.18 -genpkg_rules() 7.19 -{ 7.20 - mkdir -p $fs/usr/lib 7.21 - cp -a $install/usr/lib/*a $fs/usr/lib 7.22 - cp -a $install/usr/include $fs/usr 7.23 -}
8.1 --- a/umfpack/receipt Fri Nov 17 12:53:08 2017 +0100 8.2 +++ b/umfpack/receipt Fri Nov 17 16:52:00 2017 +0200 8.3 @@ -1,28 +1,26 @@ 8.4 -# SliTaz package receipt. 8.5 +# SliTaz package receipt v2. 8.6 8.7 PACKAGE="umfpack" 8.8 -SOURCE="SuiteSparse" 8.9 VERSION="4.4.4" 8.10 CATEGORY="development" 8.11 -SHORT_DESC="Multifrontal LU factorization." 8.12 +SHORT_DESC="Multifrontal LU factorization" 8.13 MAINTAINER="pascal.bellard@slitaz.org" 8.14 LICENSE="GPL2" 8.15 -TARBALL="$SOURCE-$VERSION.tar.gz" 8.16 WEB_SITE="http://faculty.cse.tamu.edu/davis/suitesparse.html" 8.17 -WGET_URL="http://faculty.cse.tamu.edu/davis/$SOURCE/$TARBALL" 8.18 8.19 -DEPENDS="blas lapack" 8.20 +TARBALL="SuiteSparse-$VERSION.tar.gz" 8.21 +WGET_URL="http://faculty.cse.tamu.edu/davis/SuiteSparse/$TARBALL" 8.22 + 8.23 BUILD_DEPENDS="blas lapack libgfortran" 8.24 +SPLIT="umfpack-dev" 8.25 8.26 -# Rules to configure and make the package. 8.27 -compile_rules() 8.28 -{ 8.29 +compile_rules() { 8.30 cat > dynlink.sh <<EOT 8.31 lib=\$1 8.32 shift 8.33 gcc -shared \$@ -lm -Wl,-soname -Wl,\$(basename \$lib) -o \$lib 8.34 EOT 8.35 - for i in */Doc/ChangeLog ; do 8.36 + for i in */Doc/ChangeLog; do 8.37 VERSION=$(sed 's/.* version //;q' $i) 8.38 sed -i 's/\(.*cd Lib.*MAKE.\)\(.*\)/\1\2\n\1 -f Makefile.d\2/' \ 8.39 ${i%%/*}/Makefile 8.40 @@ -36,8 +34,10 @@ 8.41 mkdir -p $DESTDIR/usr/lib $DESTDIR/usr/include 8.42 sed -i "s/lopenblas/lblas/;s|/usr/local|$DESTDIR/usr|" \ 8.43 SuiteSparse_config/*.mk 8.44 + 8.45 make -j 1 && make install 8.46 - for i in */Lib/*.so.* ; do 8.47 + 8.48 + for i in */Lib/*.so.*; do 8.49 cp $i $DESTDIR/usr/lib 8.50 l=$(basename $i) 8.51 ln -s $l $DESTDIR/usr/lib/${l%.*.*} 8.52 @@ -45,9 +45,14 @@ 8.53 done 8.54 } 8.55 8.56 -# Rules to gen a SliTaz package suitable for Tazpkg. 8.57 -genpkg_rules() 8.58 -{ 8.59 - mkdir -p $fs/usr/lib 8.60 - cp -a $install/usr/lib/*.so* $fs/usr/lib 8.61 +genpkg_rules() { 8.62 + case $PACKAGE in 8.63 + umfpack) 8.64 + copy @std 8.65 + DEPENDS="blas lapack" 8.66 + ;; 8.67 + *-dev) 8.68 + copy @dev 8.69 + ;; 8.70 + esac 8.71 }
9.1 --- a/unbound-dev/receipt Fri Nov 17 12:53:08 2017 +0100 9.2 +++ /dev/null Thu Jan 01 00:00:00 1970 +0000 9.3 @@ -1,20 +0,0 @@ 9.4 -# SliTaz package receipt. 9.5 - 9.6 -PACKAGE="unbound-dev" 9.7 -VERSION="1.5.7" 9.8 -CATEGORY="development" 9.9 -SHORT_DESC="A validating, recursive, and caching DNS resolver, development files." 9.10 -MAINTAINER="pascal.bellard@slitaz.org" 9.11 -LICENSE="BSD" 9.12 -WEB_SITE="https://www.unbound.net/" 9.13 -WANTED="unbound" 9.14 - 9.15 -DEPENDS="unbound" 9.16 - 9.17 -# Rules to gen a SliTaz package suitable for Tazpkg. 9.18 -genpkg_rules() 9.19 -{ 9.20 - mkdir -p $fs/usr/lib 9.21 - cp -a $install//usr/include $fs/usr 9.22 - cp -a $install/usr/lib/*a $fs/usr/lib 9.23 -}
10.1 --- a/unbound/receipt Fri Nov 17 12:53:08 2017 +0100 10.2 +++ b/unbound/receipt Fri Nov 17 16:52:00 2017 +0200 10.3 @@ -1,44 +1,55 @@ 10.4 -# SliTaz package receipt. 10.5 +# SliTaz package receipt v2. 10.6 10.7 PACKAGE="unbound" 10.8 -VERSION="1.5.7" 10.9 +VERSION="1.6.7" 10.10 CATEGORY="network" 10.11 -SHORT_DESC="A validating, recursive, and caching DNS resolver." 10.12 +SHORT_DESC="A validating, recursive, and caching DNS resolver" 10.13 MAINTAINER="pascal.bellard@slitaz.org" 10.14 LICENSE="BSD" 10.15 +WEB_SITE="https://www.unbound.net/" 10.16 + 10.17 TARBALL="$PACKAGE-$VERSION.tar.gz" 10.18 -WEB_SITE="https://www.unbound.net/" 10.19 WGET_URL="https://www.unbound.net/downloads/$TARBALL" 10.20 -CONFIG_FILES="/etc/unbound" 10.21 10.22 -DEPENDS="libssl zlib expat" 10.23 BUILD_DEPENDS="openssl-dev expat-dev" 10.24 +SPLIT="unbound-dev" 10.25 10.26 -# Rules to configure and make the package. 10.27 -compile_rules() 10.28 -{ 10.29 - ./configure --prefix=/usr \ 10.30 +compile_rules() { 10.31 + # Do we need static libraries? 10.32 + # Their presence leads to an error on post-compilation stage while stripping: 10.33 + # strip: alloc.o: plugin needed to handle lto object 10.34 + # (and so many linies, moved to /dev/null) 10.35 + # ar: alloc.o: plugin needed to handle lto object 10.36 + # (and so on...) 10.37 + # Actual commands in the modules/compressor: 10.38 + # find $fs -name '*.a' -exec $STRIP -d '{}' 2>/dev/null \; 10.39 + # ar -x $i; ar -crD $(basename $i) * 10.40 + 10.41 + ./configure \ 10.42 --sysconfdir=/etc \ 10.43 - --mandir=/usr/share/man \ 10.44 + --disable-static \ 10.45 $CONFIGURE_ARGS && 10.46 make && 10.47 - make DESTDIR=$DESTDIR install 10.48 + make install 10.49 } 10.50 10.51 -# Rules to gen a SliTaz package suitable for Tazpkg. 10.52 -genpkg_rules() 10.53 -{ 10.54 - mkdir -p $fs/usr/lib $fs/var/lib/unbound 10.55 - cp -a $install/etc $fs 10.56 - cp -a $install/usr/lib/*.so* $fs/usr/lib 10.57 - cp -a $install/usr/sbin $fs/usr 10.58 +genpkg_rules() { 10.59 + case $PACKAGE in 10.60 + unbound) 10.61 + copy @std 10.62 + DEPENDS="expat libcrypto libssl" 10.63 + CONFIG_FILES="/etc/unbound/" 10.64 + ;; 10.65 + *-dev) 10.66 + copy @dev 10.67 + DEPENDS="unbound openssl-dev" 10.68 + ;; 10.69 + esac 10.70 } 10.71 10.72 -# Post message when installing. 10.73 -post_install() 10.74 -{ 10.75 - chroot "$1/" adduser -S -H -h /var/lib/unbound -D unbound 10.76 - chroot "$1/" chown unbound /var/lib/unbound 10.77 +post_install_unbound() { 10.78 + chroot "$1/" adduser -S -H -h /var/lib/unbound -D unbound 2>/dev/null 10.79 + chroot "$1/" chown unbound /var/lib/unbound 10.80 chroot "$1/" unbound-anchor -a /var/lib/unbound/root.key 10.81 : 10.82 }