wok view 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 |
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 }