wok annotate libhx/receipt @ rev 10766

jstetris: Fixed jstetris to work with source dvd when offline. Added index.html to stuff so only JsTetris.js file is needed. Also there is no need for compile_rules with this one anymore.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue May 31 08:08:28 2011 +0000 (2011-05-31)
parents 6de67a33961b
children 16b97ec782a4
rev   line source
pascal@2442 1 # SliTaz package receipt.
pascal@2442 2
pascal@2442 3 PACKAGE="libhx"
pascal@2442 4 VERSION="2.5"
pascal@2442 5 CATEGORY="development"
pascal@2442 6 SHORT_DESC="data structures and functions for scripting languages."
pascal@2442 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@2442 8 SOURCE="libHX"
pascal@2442 9 TARBALL="$SOURCE-$VERSION.tar.bz2"
slaxemulator@8377 10 DEPENDS="coreutils-file-special"
pascal@2442 11 WEB_SITE="http://$PACKAGE.sourceforge.net/"
pascal@2442 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
pascal@2442 13
pascal@2442 14 # Rules to configure and make the package.
pascal@2442 15 compile_rules()
pascal@2442 16 {
pascal@2442 17 cd $src
slaxemulator@8377 18 sed -i 's|mktemp -u|/usr/bin/mktemp -u|g' Makefile
pascal@2442 19 ./configure --prefix=/usr --infodir=/usr/share/info \
pascal@2442 20 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@2442 21 make &&
pascal@2442 22 make DESTDIR=$PWD/_pkg install
pascal@2442 23 }
pascal@2442 24
pascal@2442 25 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@2442 26 genpkg_rules()
pascal@2442 27 {
pascal@2442 28 mkdir -p $fs/usr/lib
pascal@2442 29 cp -a $_pkg/usr/lib/libHX.so* $fs/usr/lib
pascal@2442 30 }