wok view libhx/receipt @ rev 5012

rm rpm in for loop to save RAM (thanks Eric)
author Rohit Joshi <jozee@slitaz.org>
date Sun Feb 28 19:50:05 2010 +0000 (2010-02-28)
parents
children fa60b846f940
line source
1 # SliTaz package receipt.
3 PACKAGE="libhx"
4 VERSION="2.5"
5 CATEGORY="development"
6 SHORT_DESC="data structures and functions for scripting languages."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="libHX"
9 TARBALL="$SOURCE-$VERSION.tar.bz2"
10 WEB_SITE="http://$PACKAGE.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib
27 cp -a $_pkg/usr/lib/libHX.so* $fs/usr/lib
28 }