wok view gdbm/receipt @ rev 12237
uclibc-cross-compiler: update WGET_URL
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Apr 09 15:07:54 2012 +0200 (2012-04-09) |
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 }