wok-current annotate gdbm/receipt @ rev 9401
Up: rsync to 3.0.8.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Mar 27 08:05:44 2011 +0000 (2011-03-27) |
parents | 53e1828da719 |
children | 72ccbd1efeb2 |
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" |
gokhlayeh@8182 | 8 DEPENDS="glibc-base" |
gokhlayeh@8182 | 9 BUILD_DEPENDS="gcc" |
pascal@1436 | 10 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1436 | 11 WEB_SITE="http://www.gnu.org/software/gdbm" |
pascal@1436 | 12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pascal@1436 | 13 |
pascal@1436 | 14 # Rules to configure and make the package. |
pascal@1436 | 15 compile_rules() |
pascal@1436 | 16 { |
pascal@1436 | 17 cd $src |
pascal@1436 | 18 sed -i -e 's/BINOWN = bin/BINOWN = root/' \ |
pascal@1436 | 19 -e 's/BINGRP = bin/BINGRP = root/' Makefile.in |
gokhlayeh@8182 | 20 ./configure && |
pascal@1436 | 21 make && |
gokhlayeh@8182 | 22 make INSTALL_ROOT=$DESTDIR install |
pascal@1436 | 23 } |
pascal@1436 | 24 |
pascal@1436 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1436 | 26 genpkg_rules() |
pascal@1436 | 27 { |
pascal@1436 | 28 mkdir -p $fs/usr/lib |
pascal@1436 | 29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
pascal@1436 | 30 } |
pascal@1436 | 31 |