wok-next diff db/receipt @ rev 19925
libftdi: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Oct 14 23:27:36 2017 +0200 (2017-10-14) |
parents | c401b815022b |
children | 0e7893ac206d |
line diff
1.1 --- a/db/receipt Tue Dec 27 11:15:02 2016 +0200 1.2 +++ b/db/receipt Sat Oct 14 23:27:36 2017 +0200 1.3 @@ -1,20 +1,19 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="db" 1.8 VERSION="6.2.23" 1.9 CATEGORY="misc" 1.10 -SHORT_DESC="Berkeley database system." 1.11 +SHORT_DESC="Berkeley database system" 1.12 MAINTAINER="pascal.bellard@slitaz.org" 1.13 LICENSE="BSD" 1.14 -WEB_SITE="http://www.oracle.com/technology/software/products/berkeley-db/db/" 1.15 +WEB_SITE="https://www.oracle.com/database/berkeley-db/db.html" 1.16 TAGS="database" 1.17 HOST_ARCH="i486 arm" 1.18 1.19 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.20 WGET_URL="http://download.oracle.com/berkeley-db/$TARBALL" 1.21 1.22 -DEPENDS="glibc-base libdb" 1.23 -SPLIT="libdb libdb-cxx" 1.24 +SPLIT="libdb libdb-cxx db-dev" 1.25 1.26 # Rules to configure and make the package. 1.27 compile_rules() 1.28 @@ -33,5 +32,24 @@ 1.29 # Rules to gen a SliTaz package suitable for Tazpkg. 1.30 genpkg_rules() 1.31 { 1.32 - cook_copy_folders bin 1.33 + case $PACKAGE in 1.34 + db) 1.35 + copy bin/ 1.36 + DEPENDS="libdb" 1.37 + ;; 1.38 + libdb) 1.39 + copy libdb-*so libdb.so 1.40 + CAT="libs|libraries" 1.41 + DEPENDS="glibc-base" 1.42 + ;; 1.43 + libdb-cxx) 1.44 + copy libdb_cxx-*so libdb_cxx.so 1.45 + CAT="libs|libraries for C++ support" 1.46 + DEPENDS="glibc-base" 1.47 + ;; 1.48 + db-dev) 1.49 + copy @dev 1.50 + DEPENDS="db libdb libdb-cxx" 1.51 + ;; 1.52 + esac 1.53 }