wok-next view gdbm/receipt @ rev 4794
krb5: Add file list for libcommerr3 and libkrb5support.
author | Eric Joseph-Alexandre <erjo@slitaz.org> |
---|---|
date | Sat Jan 16 23:33:06 2010 +0100 (2010-01-16) |
parents | |
children | 53e1828da719 |
line source
1 # SliTaz package receipt.
3 PACKAGE="gdbm"
4 VERSION="1.8.3"
5 CATEGORY="misc"
6 SHORT_DESC="GNU database indexing library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://www.gnu.org/software/gdbm"
10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 sed -i -e 's/BINOWN = bin/BINOWN = root/' \
17 -e 's/BINGRP = bin/BINGRP = root/' Makefile.in
18 ./configure --prefix=/usr --infodir=/usr/share/info \
19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
20 make &&
21 make INSTALL_ROOT=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 # Package all gdbm pkgs
30 for i in $(cd $WOK; ls -d gdbm-*)
31 do
32 tazwok genpkg $i
33 done
34 }