wok-current view airoscript-ng/receipt @ rev 22532
updated bazaar (2.6.0 -> 2.7.0)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jan 03 09:32:34 2020 +0100 (2020-01-03) |
parents | 11b5e93cb5f2 |
children | 104a2a2e5484 |
line source
1 # SliTaz package receipt.
3 PACKAGE="airoscript-ng"
4 VERSION="1.2rc3"
5 CATEGORY="network"
6 SHORT_DESC="Airoscript ng"
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://airoscript.aircrack-ng.org/"
10 TARBALL="$PACKAGE-${VERSION%rc3}-3.tar.gz"
11 WGET_URL="http://airoscript.googlecode.com/files/$TARBALL"
13 DEPENDS="bash"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 # Remove broken install parts
19 sed -i '/install-docs \\/ d' Makefile-Linux
20 sed -i '/install-locale \\/ d' Makefile-Linux
21 sed -i '/install-desktop \\/ d' Makefile-Linux
22 make -j1 DESTDIR=$DESTDIR \
23 prefix=usr \
24 picdir=$DESTDIR/usr/share/pixmaps/ \
25 appdir=$DESTDIR/usr/share/applications/ \
26 etcdir=$DESTDIR/etc/$PACKAGE install
27 # Patch config - replace "usr/local" by "usr"
28 sed -i 's/usr\/local/usr/g' $DESTDIR/etc/$PACKAGE/airoscript-ng_advanced.conf
30 # Patch executable to find config files
31 sed -i 's/etc\//etc\/airoscript-ng\//g' $DESTDIR/usr/sbin/$PACKAGE
33 cook_pick_manpages $src/src/airoscript-ng.1
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/share
40 cp -a $install/usr/sbin $fs/usr
41 cp -a $install/usr/share/airoscript-ng $fs/usr/share
42 cp -a $install/etc $fs
43 }