wok-6.x view gdbm/receipt @ rev 14504

get-bitcoin: get last version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun May 12 08:46:16 2013 +0200 (2013-05-12)
parents 8b19c9c8daae
children 2b9f96603415
line source
1 # SliTaz package receipt.
3 PACKAGE="gdbm"
4 VERSION="1.10"
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 DEPENDS="glibc-base"
13 BUILD_DEPENDS="gcc"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 sed -i -e 's/BINOWN = bin/BINOWN = root/' \
20 -e 's/BINGRP = bin/BINGRP = root/' Makefile.in
21 ./configure $CONFIGURE_ARGS &&
22 make &&
23 make INSTALL_ROOT=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }