wok-stable diff airoscript-ng/receipt @ rev 7977
Fix: pth needs -j1 to compile & install
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Mon Jan 17 17:57:54 2011 +0100 (2011-01-17) |
parents | |
children | be13f25e790b |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/airoscript-ng/receipt Mon Jan 17 17:57:54 2011 +0100 1.3 @@ -0,0 +1,36 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="airoscript-ng" 1.7 +VERSION="1.0rc1" 1.8 +CATEGORY="network" 1.9 +SHORT_DESC="Airoscript ng" 1.10 +MAINTAINER="slaxemulator@gmail.com" 1.11 +DEPENDS="bash" 1.12 +SOURCE="Airoscript-ng" 1.13 +TARBALL="${SOURCE}${VERSION%rc1}.tgz" 1.14 +WEB_SITE="http://code.google.com/p/airoscript/" 1.15 +WGET_URL="http://airoscript.googlecode.com/files/$TARBALL" 1.16 + 1.17 +# Rules to configure and make the package. 1.18 +compile_rules() 1.19 +{ 1.20 + src=$WOK/$PACKAGE/${SOURCE%-ng} 1.21 + cd $src 1.22 + patch -Np0 -i ../stuff/path.patch 1.23 + patch -Np0 -i ../stuff/makefile.patch 1.24 + make -j1 prefix=$PWD/_pkg/usr install 1.25 +} 1.26 + 1.27 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.28 +genpkg_rules() 1.29 +{ 1.30 + _pkg=$WOK/$PACKAGE/Airoscript/_pkg 1.31 + mkdir -p $fs/usr/share 1.32 + cp -a $_pkg/usr/sbin $fs/usr 1.33 + cp -a $_pkg/usr/share/airoscript-ng $fs/usr/share 1.34 + cp -a $_pkg/usr/etc $fs/etc 1.35 + mv $fs/etc/screenrc $fs/usr/share/airoscript-ng/ 1.36 + cd $fs/etc 1.37 + patch -Np0 -i $WOK/$PACKAGE/stuff/config.patch 1.38 +} 1.39 +