wok-next view airoscript-ng/receipt @ rev 21244
updated coova-chilli again (1.3.0 -> 1.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Dec 05 15:20:58 2019 +0100 (2019-12-05) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="airoscript-ng"
4 VERSION="1.2rc3"
5 CATEGORY="network"
6 SHORT_DESC="Airoscript ng"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 #WEB_SITE="https://code.google.com/archive/p/airoscript/"
10 WEB_SITE="http://airoscript.aircrack-ng.org/"
11 HOST_ARCH="any"
13 TARBALL="$PACKAGE-${VERSION%rc3}-3.tar.gz"
14 WGET_URL="https://storage.googleapis.com/google-code-archive-downloads/v2/code.google.com/airoscript/$TARBALL"
16 DEPENDS_std="bash"
18 compile_rules() {
19 # Remove broken install parts
20 sed -i '/install-docs \\/ d' Makefile-Linux
21 sed -i '/install-locale \\/ d' Makefile-Linux
22 sed -i '/install-desktop \\/ d' Makefile-Linux
24 make -j1 \
25 DESTDIR=$install \
26 prefix=usr \
27 picdir=$install/usr/share/pixmaps/ \
28 appdir=$install/usr/share/applications/ \
29 etcdir=$install/etc/$PACKAGE \
30 install || return 1
32 # Patch config - replace "usr/local" by "usr"
33 sed -i 's/usr\/local/usr/g' $install/etc/$PACKAGE/airoscript-ng_advanced.conf
35 # Patch executable to find config files
36 sed -i 's/etc\//etc\/airoscript-ng\//g' $install/usr/sbin/$PACKAGE
38 cook_pick_manpages $src/src/airoscript-ng.1
39 }