wok-stable rev 1436
Add gdbm
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Oct 01 11:28:26 2008 +0000 (2008-10-01) |
parents | e906460e922d |
children | 654173820657 |
files | gdbm-dev/receipt gdbm/receipt |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gdbm-dev/receipt Wed Oct 01 11:28:26 2008 +0000 1.3 @@ -0,0 +1,18 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gdbm-dev" 1.7 +VERSION="1.8.3" 1.8 +CATEGORY="development" 1.9 +SHORT_DESC="GNU database indexing library development files." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +WEB_SITE="http://www.gnu.org/software/gdbm" 1.12 +WANTED="gdbm" 1.13 + 1.14 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.15 +genpkg_rules() 1.16 +{ 1.17 + mkdir -p $fs/usr/lib 1.18 + cp -a $_pkg/usr/lib/*.a $fs/usr/lib 1.19 + cp -a $_pkg/usr/include $fs/usr 1.20 +} 1.21 +
2.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 2.2 +++ b/gdbm/receipt Wed Oct 01 11:28:26 2008 +0000 2.3 @@ -0,0 +1,35 @@ 2.4 +# SliTaz package receipt. 2.5 + 2.6 +PACKAGE="gdbm" 2.7 +VERSION="1.8.3" 2.8 +CATEGORY="misc" 2.9 +SHORT_DESC="GNU database indexing library." 2.10 +MAINTAINER="pascal.bellard@slitaz.org" 2.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 2.12 +WEB_SITE="http://www.gnu.org/software/gdbm" 2.13 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 2.14 + 2.15 +# Rules to configure and make the package. 2.16 +compile_rules() 2.17 +{ 2.18 + cd $src 2.19 + sed -i -e 's/BINOWN = bin/BINOWN = root/' \ 2.20 + -e 's/BINGRP = bin/BINGRP = root/' Makefile.in 2.21 + ./configure --prefix=/usr --infodir=/usr/share/info \ 2.22 + --mandir=/usr/share/man $CONFIGURE_ARGS && 2.23 + make && 2.24 + make INSTALL_ROOT=$PWD/_pkg install 2.25 +} 2.26 + 2.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 2.28 +genpkg_rules() 2.29 +{ 2.30 + mkdir -p $fs/usr/lib 2.31 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 2.32 + # Package all gdbm pkgs 2.33 + for i in $(cd $WOK; ls -d gdbm-*) 2.34 + do 2.35 + tazwok genpkg $i 2.36 + done 2.37 +} 2.38 +