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

subversion: apache mods fail to install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 23 12:59:29 2015 +0200 (2015-09-23)
parents 16b97ec782a4
children 75937d22148a
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 LICENSE="LGPL3 LGPL2.1"
9 SOURCE="libHX"
10 TARBALL="$SOURCE-$VERSION.tar.bz2"
11 WEB_SITE="http://$PACKAGE.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="coreutils-file-special"
15 BUILD_DEPENDS="coreutils-file-special"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 sed -i 's|mktemp -u|/usr/bin/mktemp -u|g' Makefile*
22 ./configure --prefix=/usr --infodir=/usr/share/info \
23 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib
32 cp -a $install/usr/lib/libHX.so* $fs/usr/lib
33 }