wok-6.x view libhx/receipt @ rev 14465

nconf: remove compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 27 09:10:25 2013 +0200 (2013-04-27)
parents fa60b846f940
children b887898c0199
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 DEPENDS="coreutils-file-special"
14 BUILD_DEPENDS="coreutils-file-special"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 sed -i 's|mktemp -u|/usr/bin/mktemp -u|g' Makefile
21 ./configure --prefix=/usr --infodir=/usr/share/info \
22 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$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 $_pkg/usr/lib/libHX.so* $fs/usr/lib
32 }