wok annotate gdbm/receipt @ rev 10426

gdbm: moved depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue May 24 13:53:15 2011 +0000 (2011-05-24)
parents 3b10cfcc3474
children 8b19c9c8daae
rev   line source
pascal@1436 1 # SliTaz package receipt.
pascal@1436 2
pascal@1436 3 PACKAGE="gdbm"
pascal@1436 4 VERSION="1.8.3"
pascal@1436 5 CATEGORY="misc"
pascal@1436 6 SHORT_DESC="GNU database indexing library."
pascal@1436 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@1436 8 TARBALL="$PACKAGE-$VERSION.tar.gz"
pascal@1436 9 WEB_SITE="http://www.gnu.org/software/gdbm"
pascal@1436 10 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
pascal@1436 11
slaxemulator@10426 12 DEPENDS="glibc-base"
slaxemulator@10426 13 BUILD_DEPENDS="gcc"
slaxemulator@10426 14
pascal@1436 15 # Rules to configure and make the package.
pascal@1436 16 compile_rules()
pascal@1436 17 {
pascal@1436 18 cd $src
pascal@1436 19 sed -i -e 's/BINOWN = bin/BINOWN = root/' \
pascal@1436 20 -e 's/BINGRP = bin/BINGRP = root/' Makefile.in
gokhlayeh@8182 21 ./configure &&
pascal@1436 22 make &&
gokhlayeh@8182 23 make INSTALL_ROOT=$DESTDIR install
pascal@1436 24 }
pascal@1436 25
pascal@1436 26 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1436 27 genpkg_rules()
pascal@1436 28 {
pascal@1436 29 mkdir -p $fs/usr/lib
pascal@1436 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
pascal@1436 31 }
pascal@1436 32