wok-current view gdbm/receipt @ rev 17499
Add patchelf
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jan 06 15:05:29 2015 +0100 (2015-01-06) |
parents | 2b9f96603415 |
children | 973dd2ac59de |
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 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.gnu.org/software/gdbm"
11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i -e 's/BINOWN = bin/BINOWN = root/' \
21 -e 's/BINGRP = bin/BINGRP = root/' Makefile.in
22 ./configure $CONFIGURE_ARGS &&
23 make &&
24 make INSTALL_ROOT=$DESTDIR install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $install/usr/lib/*.so* $fs/usr/lib
32 }