wok-4.x view gdbm/receipt @ rev 10683

linphone: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri May 27 15:32:56 2011 +0200 (2011-05-27)
parents 3b10cfcc3474
children 8b19c9c8daae
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 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 &&
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 }