wok-current view airoscript-ng/receipt @ rev 11663

syslinux: fix post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Feb 13 22:03:47 2012 +0100 (2012-02-13)
parents 0a0fb13a2e64
children 01a07ddd852f
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 cd $src
18 patch -Np0 -i $stuff/path.patch
19 patch -Np0 -i $stuff/makefile.patch
20 make -j1 prefix=$DESTDIR/usr install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share
27 cp -a $_pkg/usr/sbin $fs/usr
28 cp -a $_pkg/usr/share/airoscript-ng $fs/usr/share
29 cp -a $_pkg/usr/etc $fs/etc
30 mv $fs/etc/screenrc $fs/usr/share/airoscript-ng/
31 cd $fs/etc
32 patch -Np0 -i $stuff/config.patch
33 }