wok-current annotate gdbm/receipt @ rev 18443
libgd: fix build
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 24 18:27:14 2015 +0200 (2015-09-24) |
parents | 2b9f96603415 |
children | 973dd2ac59de |
rev | line source |
---|---|
pascal@1436 | 1 # SliTaz package receipt. |
pascal@1436 | 2 |
pascal@1436 | 3 PACKAGE="gdbm" |
devl547@11332 | 4 VERSION="1.10" |
pascal@1436 | 5 CATEGORY="misc" |
pascal@1436 | 6 SHORT_DESC="GNU database indexing library." |
pascal@1436 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@14999 | 8 LICENSE="GPL3" |
pascal@1436 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@1436 | 10 WEB_SITE="http://www.gnu.org/software/gdbm" |
pascal@1436 | 11 WGET_URL="$GNU_MIRROR/$PACKAGE/$TARBALL" |
pankso@16042 | 12 HOST_ARCH="i486 arm" |
pascal@1436 | 13 |
pankso@16042 | 14 DEPENDS="" |
pankso@16042 | 15 BUILD_DEPENDS="" |
slaxemulator@10426 | 16 |
pascal@1436 | 17 # Rules to configure and make the package. |
pascal@1436 | 18 compile_rules() |
pascal@1436 | 19 { |
pankso@16042 | 20 sed -i -e 's/BINOWN = bin/BINOWN = root/' \ |
pascal@1436 | 21 -e 's/BINGRP = bin/BINGRP = root/' Makefile.in |
gokhlayeh@11573 | 22 ./configure $CONFIGURE_ARGS && |
pascal@1436 | 23 make && |
gokhlayeh@8182 | 24 make INSTALL_ROOT=$DESTDIR install |
pascal@1436 | 25 } |
pascal@1436 | 26 |
pascal@1436 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1436 | 28 genpkg_rules() |
pascal@1436 | 29 { |
pascal@1436 | 30 mkdir -p $fs/usr/lib |
pascal@14999 | 31 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@1436 | 32 } |
pascal@1436 | 33 |