wok-4.x view gdbm/receipt @ rev 4100
Up: Midori 1.1.10
author | Mallory MOLLO <mallory@skyrock.com> |
---|---|
date | Sat Sep 19 01:57:03 2009 +0200 (2009-09-19) |
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 }