wok-current diff gdbm/receipt @ rev 2495
libkrb5, nail, perl-gssapi: update krb5 depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Mar 16 09:09:51 2009 +0000 (2009-03-16) |
parents | |
children | 53e1828da719 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/gdbm/receipt Mon Mar 16 09:09:51 2009 +0000 1.3 @@ -0,0 +1,35 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="gdbm" 1.7 +VERSION="1.8.3" 1.8 +CATEGORY="misc" 1.9 +SHORT_DESC="GNU database indexing library." 1.10 +MAINTAINER="pascal.bellard@slitaz.org" 1.11 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.12 +WEB_SITE="http://www.gnu.org/software/gdbm" 1.13 +WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" 1.14 + 1.15 +# Rules to configure and make the package. 1.16 +compile_rules() 1.17 +{ 1.18 + cd $src 1.19 + sed -i -e 's/BINOWN = bin/BINOWN = root/' \ 1.20 + -e 's/BINGRP = bin/BINGRP = root/' Makefile.in 1.21 + ./configure --prefix=/usr --infodir=/usr/share/info \ 1.22 + --mandir=/usr/share/man $CONFIGURE_ARGS && 1.23 + make && 1.24 + make INSTALL_ROOT=$PWD/_pkg install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + mkdir -p $fs/usr/lib 1.31 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.32 + # Package all gdbm pkgs 1.33 + for i in $(cd $WOK; ls -d gdbm-*) 1.34 + do 1.35 + tazwok genpkg $i 1.36 + done 1.37 +} 1.38 +