wok annotate airoscript-ng/receipt @ rev 12419

Up: pidgin to 2.10.3.
author Christopher Rogers <slaxemulator@gmail.com>
date Sat Apr 21 09:18:59 2012 +0000 (2012-04-21)
parents 0a0fb13a2e64
children 01a07ddd852f
rev   line source
slaxemulator@7524 1 # SliTaz package receipt.
slaxemulator@7524 2
slaxemulator@7524 3 PACKAGE="airoscript-ng"
slaxemulator@7524 4 VERSION="1.0rc1"
slaxemulator@7524 5 CATEGORY="network"
slaxemulator@7524 6 SHORT_DESC="Airoscript ng"
slaxemulator@7524 7 MAINTAINER="slaxemulator@gmail.com"
slaxemulator@7524 8 DEPENDS="bash"
slaxemulator@7524 9 SOURCE="Airoscript-ng"
slaxemulator@7524 10 TARBALL="${SOURCE}${VERSION%rc1}.tgz"
slaxemulator@7524 11 WEB_SITE="http://code.google.com/p/airoscript/"
slaxemulator@7524 12 WGET_URL="http://airoscript.googlecode.com/files/$TARBALL"
slaxemulator@7524 13
slaxemulator@7524 14 # Rules to configure and make the package.
slaxemulator@7524 15 compile_rules()
slaxemulator@7524 16 {
slaxemulator@7524 17 cd $src
slaxemulator@8751 18 patch -Np0 -i $stuff/path.patch
slaxemulator@8751 19 patch -Np0 -i $stuff/makefile.patch
slaxemulator@8751 20 make -j1 prefix=$DESTDIR/usr install
slaxemulator@7524 21 }
slaxemulator@7524 22
slaxemulator@7524 23 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7524 24 genpkg_rules()
slaxemulator@7524 25 {
slaxemulator@7524 26 mkdir -p $fs/usr/share
slaxemulator@7524 27 cp -a $_pkg/usr/sbin $fs/usr
slaxemulator@7524 28 cp -a $_pkg/usr/share/airoscript-ng $fs/usr/share
slaxemulator@7524 29 cp -a $_pkg/usr/etc $fs/etc
slaxemulator@7524 30 mv $fs/etc/screenrc $fs/usr/share/airoscript-ng/
slaxemulator@7524 31 cd $fs/etc
slaxemulator@8751 32 patch -Np0 -i $stuff/config.patch
slaxemulator@7524 33 }
slaxemulator@7524 34