wok-6.x view airoscript-ng/receipt @ rev 8159
Updated busybox for tazwok-experimental.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Wed Jan 26 18:02:11 2011 +0000 (2011-01-26) |
parents | |
children | be13f25e790b |
line source
1 # SliTaz package receipt.
3 PACKAGE="airoscript-ng"
4 VERSION="1.0rc1"
5 CATEGORY="network"
6 SHORT_DESC="Airoscript ng"
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="bash"
9 SOURCE="Airoscript-ng"
10 TARBALL="${SOURCE}${VERSION%rc1}.tgz"
11 WEB_SITE="http://code.google.com/p/airoscript/"
12 WGET_URL="http://airoscript.googlecode.com/files/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 src=$WOK/$PACKAGE/${SOURCE%-ng}
18 cd $src
19 patch -Np0 -i ../stuff/path.patch
20 patch -Np0 -i ../stuff/makefile.patch
21 make -j1 prefix=$PWD/_pkg/usr install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 _pkg=$WOK/$PACKAGE/Airoscript/_pkg
28 mkdir -p $fs/usr/share
29 cp -a $_pkg/usr/sbin $fs/usr
30 cp -a $_pkg/usr/share/airoscript-ng $fs/usr/share
31 cp -a $_pkg/usr/etc $fs/etc
32 mv $fs/etc/screenrc $fs/usr/share/airoscript-ng/
33 cd $fs/etc
34 patch -Np0 -i $WOK/$PACKAGE/stuff/config.patch
35 }