wok view atm-tools/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 59009b1c6878
children d5acb4e6cacf
line source
1 # SliTaz package receipt.
3 PACKAGE="atm-tools"
4 VERSION="2.5.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="User space tools for atm."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 SOURCE="linux-atm"
9 TARBALL="$SOURCE-$VERSION.tar.gz"
10 BUILD_DEPENDS="flex"
11 WEB_SITE="http://$SOURCE.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$SOURCE/$TARBALL"
13 CONFIG_FILES="/etc/atmsigd.conf"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 busybox patch -p0 < $stuff/MAX_PATH.u
20 ./configure --prefix=/usr --infodir=/usr/share/info \
21 --sysconfdir=/etc --mandir=/usr/share/man $CONFIGURE_ARGS &&
22 make -j1 &&
23 make -j1 DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib
30 cp -a $_pkg/etc $fs
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/sbin $fs/usr
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 }