# SliTaz package receipt. PACKAGE="airoscript-ng" VERSION="1.0rc1" CATEGORY="network" SHORT_DESC="Airoscript ng" MAINTAINER="slaxemulator@gmail.com" DEPENDS="bash" SOURCE="Airoscript-ng" TARBALL="${SOURCE}${VERSION%rc1}.tgz" WEB_SITE="http://code.google.com/p/airoscript/" WGET_URL="http://airoscript.googlecode.com/files/$TARBALL" # Rules to configure and make the package. compile_rules() { cd $src patch -Np0 -i $stuff/path.patch patch -Np0 -i $stuff/makefile.patch make -j1 prefix=$DESTDIR/usr install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share cp -a $_pkg/usr/sbin $fs/usr cp -a $_pkg/usr/share/airoscript-ng $fs/usr/share cp -a $_pkg/usr/etc $fs/etc mv $fs/etc/screenrc $fs/usr/share/airoscript-ng/ cd $fs/etc patch -Np0 -i $stuff/config.patch }