wok-current view gdbm/receipt @ rev 9964
gcc+gcj: should fix build (not tested too slow on my laptop)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed May 18 16:06:04 2011 +0200 (2011-05-18) |
parents | 53e1828da719 |
children | 72ccbd1efeb2 |
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 DEPENDS="glibc-base"
9 BUILD_DEPENDS="gcc"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.gnu.org/software/gdbm"
12 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i -e 's/BINOWN = bin/BINOWN = root/' \
19 -e 's/BINGRP = bin/BINGRP = root/' Makefile.in
20 ./configure &&
21 make &&
22 make INSTALL_ROOT=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 }