wok view gdbm/receipt @ rev 9098
emacs-pkg-lua-mode: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Mar 04 22:10:40 2011 +0100 (2011-03-04) |
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 }