wok-4.x view libhx/receipt @ rev 11287

Up: libmicrohttpd to 0.9.16.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Nov 11 07:00:36 2011 +0000 (2011-11-11)
parents 6de67a33961b
children 16b97ec782a4
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 DEPENDS="coreutils-file-special"
11 WEB_SITE="http://$PACKAGE.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 sed -i 's|mktemp -u|/usr/bin/mktemp -u|g' Makefile
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg 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/libHX.so* $fs/usr/lib
30 }