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

*/stuff/bootloader.S: add CHK_DOS_INT19
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Apr 23 15:28:40 2022 +0000 (2022-04-23)
parents 104a2a2e5484
children 9b180a3071fb
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 # What is the latest version available today?
16 current_version()
17 {
18 wget -O - https://www.aircrack-ng.org/ 2>/dev/null | \
19 sed '/aircrack-ng/!d;/tar/!d;s|.*ng-||;s|.tar.*||;q'
20 }
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 # Remove broken install parts
26 sed -i '/install-docs \\/ d' Makefile-Linux
27 sed -i '/install-locale \\/ d' Makefile-Linux
28 sed -i '/install-desktop \\/ d' Makefile-Linux
29 make -j1 DESTDIR=$DESTDIR \
30 prefix=usr \
31 picdir=$DESTDIR/usr/share/pixmaps/ \
32 appdir=$DESTDIR/usr/share/applications/ \
33 etcdir=$DESTDIR/etc/$PACKAGE install
34 # Patch config - replace "usr/local" by "usr"
35 sed -i 's/usr\/local/usr/g' $DESTDIR/etc/$PACKAGE/airoscript-ng_advanced.conf
37 # Patch executable to find config files
38 sed -i 's/etc\//etc\/airoscript-ng\//g' $DESTDIR/usr/sbin/$PACKAGE
40 cook_pick_manpages $src/src/airoscript-ng.1
41 }
43 # Rules to gen a SliTaz package suitable for Tazpkg.
44 genpkg_rules()
45 {
46 mkdir -p $fs/usr/share
47 cp -a $install/usr/sbin $fs/usr
48 cp -a $install/usr/share/airoscript-ng $fs/usr/share
49 cp -a $install/etc $fs
50 }