wok-next rev 19580

Up: iproute2. Extra up: libmnl, db.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Dec 27 11:15:02 2016 +0200 (2016-12-27)
parents 9ed08571171f
children f7d9f142f79d
files db-dev/receipt db/receipt iproute2/receipt libdb-cxx/receipt libdb/receipt libmnl-dev/receipt libmnl/receipt
line diff
     1.1 --- a/db-dev/receipt	Mon Dec 26 11:32:28 2016 +0200
     1.2 +++ b/db-dev/receipt	Tue Dec 27 11:15:02 2016 +0200
     1.3 @@ -1,22 +1,19 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="db-dev"
     1.7 -VERSION="5.3.21"
     1.8 +VERSION="6.2.23"
     1.9  CATEGORY="development"
    1.10  SHORT_DESC="Berkeley database development files."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12  LICENSE="BSD"
    1.13  WEB_SITE="http://www.oracle.com/technology/software/products/berkeley-db/db/"
    1.14 -WANTED="db"
    1.15  HOST_ARCH="i486 arm"
    1.16  
    1.17 -DEPENDS="db"
    1.18 +WANTED="db"
    1.19 +DEPENDS="db libdb libdb-cxx"
    1.20  
    1.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.22  genpkg_rules()
    1.23  {
    1.24 -	mkdir -p $fs/usr/lib
    1.25 -	cp -a $install/usr/lib/*a $fs/usr/lib
    1.26 -	cp -a $install/usr/include $fs/usr
    1.27 +	cook_copy_files *.h *.la
    1.28  }
    1.29 -
     2.1 --- a/db/receipt	Mon Dec 26 11:32:28 2016 +0200
     2.2 +++ b/db/receipt	Tue Dec 27 11:15:02 2016 +0200
     2.3 @@ -1,19 +1,20 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="db"
     2.7 -VERSION="5.3.21"
     2.8 +VERSION="6.2.23"
     2.9  CATEGORY="misc"
    2.10  SHORT_DESC="Berkeley database system."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="BSD"
    2.13 -TARBALL="$PACKAGE-$VERSION.NC.tar.gz"
    2.14  WEB_SITE="http://www.oracle.com/technology/software/products/berkeley-db/db/"
    2.15 -WGET_URL="http://download.oracle.com/berkeley-db/$TARBALL"
    2.16  TAGS="database"
    2.17  HOST_ARCH="i486 arm"
    2.18  
    2.19 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.20 +WGET_URL="http://download.oracle.com/berkeley-db/$TARBALL"
    2.21 +
    2.22  DEPENDS="glibc-base libdb"
    2.23 -BUILD_DEPENDS=""
    2.24 +SPLIT="libdb libdb-cxx"
    2.25  
    2.26  # Rules to configure and make the package.
    2.27  compile_rules()
    2.28 @@ -23,13 +24,14 @@
    2.29  		--enable-cxx \
    2.30  		--enable-compat185 \
    2.31  		--enable-dbm \
    2.32 +		--disable-static \
    2.33  		$CONFIGURE_ARGS &&
    2.34 -	make &&	make install
    2.35 +	make &&
    2.36 +	make docdir=/usr/share/doc/$PACKAGE-$VERSION install
    2.37  }
    2.38  
    2.39  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.40  genpkg_rules()
    2.41  {
    2.42 -	mkdir -p $fs/usr
    2.43 -	cp -a $install/usr/bin $fs/usr
    2.44 +	cook_copy_folders bin
    2.45  }
     3.1 --- a/iproute2/receipt	Mon Dec 26 11:32:28 2016 +0200
     3.2 +++ b/iproute2/receipt	Tue Dec 27 11:15:02 2016 +0200
     3.3 @@ -1,27 +1,26 @@
     3.4  # SliTaz package receipt.
     3.5  
     3.6  PACKAGE="iproute2"
     3.7 -VERSION="3.6.0"
     3.8 +VERSION="4.7.0"
     3.9  CATEGORY="network"
    3.10  SHORT_DESC="utilites for networking and traffic control"
    3.11  MAINTAINER="allan316@gmail.com"
    3.12  LICENSE="GPL2"
    3.13 -TARBALL="$PACKAGE-$VERSION.tar.xz"
    3.14  WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/networking/iproute2"
    3.15 -WGET_URL="http://kernel.org/pub/linux/utils/net/$PACKAGE/$TARBALL"
    3.16  TAGS="network route"
    3.17  
    3.18 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    3.19 +WGET_URL="https://www.kernel.org/pub/linux/utils/net/$PACKAGE/$TARBALL"
    3.20 +
    3.21  DEPENDS="iptables db"
    3.22 -BUILD_DEPENDS="bison flex iptables-dev db-dev libnl-dev"
    3.23 +BUILD_DEPENDS="bison flex iptables-dev db-dev libmnl-dev elfutils-dev"
    3.24  
    3.25  # Rules to configure and make the package.
    3.26  compile_rules()
    3.27  {
    3.28 -	cd $src
    3.29 -	sed -i 's/<net\/if.h>/<net\/if.h>\n#include <linux\/ip.h>/' ip/link_gre.c
    3.30 -	./configure --prefix=/usr && \
    3.31 -		make && \
    3.32 -		make DESTDIR=$DESTDIR install
    3.33 +	./configure /usr/include $CONFIGURE_ARGS &&
    3.34 +	make &&
    3.35 +	make DOCDIR=/usr/share/doc/$PACKAGE-$VERSION DESTDIR=$DESTDIR install
    3.36  }
    3.37  
    3.38  # Rules to gen a SliTaz package suitable for Tazpkg.
     4.1 --- a/libdb-cxx/receipt	Mon Dec 26 11:32:28 2016 +0200
     4.2 +++ b/libdb-cxx/receipt	Tue Dec 27 11:15:02 2016 +0200
     4.3 @@ -1,20 +1,19 @@
     4.4  # SliTaz package receipt.
     4.5  
     4.6  PACKAGE="libdb-cxx"
     4.7 -VERSION="5.3.21"
     4.8 +VERSION="6.2.23"
     4.9  CATEGORY="misc"
    4.10  SHORT_DESC="Berkeley database libraries (C++ support)."
    4.11  MAINTAINER="al.bobylev@gmail.com"
    4.12  LICENSE="BSD"
    4.13  WEB_SITE="http://www.oracle.com/technology/software/products/berkeley-db/db/"
    4.14 -WANTED="db"
    4.15  HOST_ARCH="i486 arm"
    4.16  
    4.17 +WANTED="db"
    4.18  DEPENDS="glibc-base"
    4.19  
    4.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    4.21  genpkg_rules()
    4.22  {
    4.23 -	mkdir -p $fs/usr/lib
    4.24 -	cp -a $install/usr/lib/libdb_cxx-*so $fs/usr/lib
    4.25 +	cook_copy_files libdb_cxx-*so libdb_cxx.so
    4.26  }
     5.1 --- a/libdb/receipt	Mon Dec 26 11:32:28 2016 +0200
     5.2 +++ b/libdb/receipt	Tue Dec 27 11:15:02 2016 +0200
     5.3 @@ -1,20 +1,19 @@
     5.4  # SliTaz package receipt.
     5.5  
     5.6  PACKAGE="libdb"
     5.7 -VERSION="5.3.21"
     5.8 +VERSION="6.2.23"
     5.9  CATEGORY="misc"
    5.10  SHORT_DESC="Berkeley database libraries."
    5.11  MAINTAINER="pascal.bellard@slitaz.org"
    5.12  LICENSE="BSD"
    5.13  WEB_SITE="http://www.oracle.com/technology/software/products/berkeley-db/db/"
    5.14 -WANTED="db"
    5.15  HOST_ARCH="i486 arm"
    5.16  
    5.17 +WANTED="db"
    5.18  DEPENDS="glibc-base"
    5.19  
    5.20  # Rules to gen a SliTaz package suitable for Tazpkg.
    5.21  genpkg_rules()
    5.22  {
    5.23 -	mkdir -p $fs/usr/lib
    5.24 -	cp -a $install/usr/lib/libdb-*so $fs/usr/lib
    5.25 +	cook_copy_files libdb-*so libdb.so
    5.26  }
     6.1 --- a/libmnl-dev/receipt	Mon Dec 26 11:32:28 2016 +0200
     6.2 +++ b/libmnl-dev/receipt	Tue Dec 27 11:15:02 2016 +0200
     6.3 @@ -1,20 +1,18 @@
     6.4  # Slitaz package receipt.
     6.5  
     6.6  PACKAGE="libmnl-dev"
     6.7 -VERSION="1.0.3"
     6.8 -CATEGORY="network"
     6.9 +VERSION="1.0.4"
    6.10 +CATEGORY="development"
    6.11  SHORT_DESC="A minimalistic user-space library oriented to Netlink developers."
    6.12  MAINTAINER="samuel_trassare@yahoo.com"
    6.13  LICENSE="LGPL2.1"
    6.14 -WEB_SITE="http://www.netfilter.org/projects/$PACKAGE/index.html"
    6.15 +WEB_SITE="http://www.netfilter.org/projects/libmnl/"
    6.16 +
    6.17  WANTED="libmnl"
    6.18 -
    6.19  DEPENDS="libmnl pkg-config"
    6.20  
    6.21  # Rules to gen a SliTaz package suitable for Tazpkg.
    6.22  genpkg_rules()
    6.23  {
    6.24 -	mkdir -p $fs/usr/lib
    6.25 -	cp -ar $install/usr/include $fs/usr
    6.26 -	cp -ar $install/usr/lib/pkgconfig $fs/usr/lib/
    6.27 +	cook_copy_files *.h *.la *.pc
    6.28  }
     7.1 --- a/libmnl/receipt	Mon Dec 26 11:32:28 2016 +0200
     7.2 +++ b/libmnl/receipt	Tue Dec 27 11:15:02 2016 +0200
     7.3 @@ -1,24 +1,24 @@
     7.4  # SliTaz package receipt.
     7.5  
     7.6  PACKAGE="libmnl"
     7.7 -VERSION="1.0.3"
     7.8 +VERSION="1.0.4"
     7.9  CATEGORY="network"
    7.10  SHORT_DESC="A minimalistic user-space library oriented to Netlink developers."
    7.11  MAINTAINER="samuel_trassare@yahoo.com"
    7.12  LICENSE="LGPL2.1"
    7.13 -WEB_SITE="http://www.netfilter.org/projects/$PACKAGE/index.html"
    7.14 +WEB_SITE="http://www.netfilter.org/projects/libmnl/"
    7.15 +
    7.16  TARBALL="$PACKAGE-$VERSION.tar.bz2"
    7.17 -WGET_URL="http://www.netfilter.org/projects/$PACKAGE/files/$TARBALL"
    7.18 +WGET_URL="${WEB_SITE}files/$TARBALL"
    7.19  
    7.20  # Rules to configure and make the package.
    7.21  compile_rules()
    7.22  {
    7.23 -	./configure $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install
    7.24 +	./configure $CONFIGURE_ARGS && make && make install
    7.25  }
    7.26  
    7.27  # Rules to gen a SliTaz package suitable for Tazpkg.
    7.28  genpkg_rules()
    7.29  {
    7.30 -	mkdir -p $fs/usr/lib
    7.31 -	cp -a $install/usr/lib/lib* $fs/usr/lib/
    7.32 +	cook_copy_files *.so*
    7.33  }