# SliTaz package receipt. PACKAGE="libhx" VERSION="2.5" CATEGORY="development" SHORT_DESC="data structures and functions for scripting languages." MAINTAINER="pascal.bellard@slitaz.org" SOURCE="libHX" TARBALL="$SOURCE-$VERSION.tar.bz2" WEB_SITE="http://$PACKAGE.sourceforge.net/" WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" DEPENDS="coreutils-file-special" BUILD_DEPENDS="coreutils-file-special" # Rules to configure and make the package. compile_rules() { cd $src sed -i 's|mktemp -u|/usr/bin/mktemp -u|g' Makefile ./configure --prefix=/usr --infodir=/usr/share/info \ --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $_pkg/usr/lib/libHX.so* $fs/usr/lib }