wok-current view libhx/receipt @ rev 16395

UP: hostapd (2.1), fix libnl missing pkgconfig file and add to ARM with rfkill
author Christophe Lincoln <pankso@slitaz.org>
date Wed Apr 16 03:02:41 2014 +0200 (2014-04-16)
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 }