wok-stable annotate airoscript-ng/receipt @ rev 8710

Fixed xfce4-appfinder depends again.
author Christopher Rogers <slaxemulator@gmail.com>
date Thu Feb 17 18:17:27 2011 +0000 (2011-02-17)
parents
children be13f25e790b
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 src=$WOK/$PACKAGE/${SOURCE%-ng}
slaxemulator@7524 18 cd $src
slaxemulator@7524 19 patch -Np0 -i ../stuff/path.patch
slaxemulator@7524 20 patch -Np0 -i ../stuff/makefile.patch
slaxemulator@7524 21 make -j1 prefix=$PWD/_pkg/usr install
slaxemulator@7524 22 }
slaxemulator@7524 23
slaxemulator@7524 24 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@7524 25 genpkg_rules()
slaxemulator@7524 26 {
slaxemulator@7524 27 _pkg=$WOK/$PACKAGE/Airoscript/_pkg
slaxemulator@7524 28 mkdir -p $fs/usr/share
slaxemulator@7524 29 cp -a $_pkg/usr/sbin $fs/usr
slaxemulator@7524 30 cp -a $_pkg/usr/share/airoscript-ng $fs/usr/share
slaxemulator@7524 31 cp -a $_pkg/usr/etc $fs/etc
slaxemulator@7524 32 mv $fs/etc/screenrc $fs/usr/share/airoscript-ng/
slaxemulator@7524 33 cd $fs/etc
slaxemulator@7524 34 patch -Np0 -i $WOK/$PACKAGE/stuff/config.patch
slaxemulator@7524 35 }
slaxemulator@7524 36