wok-current annotate 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 |
rev | line source |
---|---|
slaxemulator@7524 | 1 # SliTaz package receipt. |
slaxemulator@7524 | 2 |
slaxemulator@7524 | 3 PACKAGE="airoscript-ng" |
slaxemulator@13168 | 4 VERSION="1.2rc3" |
slaxemulator@7524 | 5 CATEGORY="network" |
slaxemulator@7524 | 6 SHORT_DESC="Airoscript ng" |
slaxemulator@7524 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15201 | 8 LICENSE="GPL2" |
pascal@20671 | 9 WEB_SITE="https://airoscript.aircrack-ng.org/" |
slaxemulator@13168 | 10 TARBALL="$PACKAGE-${VERSION%rc3}-3.tar.gz" |
slaxemulator@7524 | 11 WGET_URL="http://airoscript.googlecode.com/files/$TARBALL" |
slaxemulator@7524 | 12 |
pascal@15201 | 13 DEPENDS="bash" |
pascal@15201 | 14 |
slaxemulator@7524 | 15 # Rules to configure and make the package. |
slaxemulator@7524 | 16 compile_rules() |
slaxemulator@7524 | 17 { |
slaxemulator@13168 | 18 # Remove broken install parts |
slaxemulator@13168 | 19 sed -i '/install-docs \\/ d' Makefile-Linux |
slaxemulator@13168 | 20 sed -i '/install-locale \\/ d' Makefile-Linux |
slaxemulator@13168 | 21 sed -i '/install-desktop \\/ d' Makefile-Linux |
slaxemulator@13168 | 22 make -j1 DESTDIR=$DESTDIR \ |
slaxemulator@13168 | 23 prefix=usr \ |
slaxemulator@13168 | 24 picdir=$DESTDIR/usr/share/pixmaps/ \ |
slaxemulator@13168 | 25 appdir=$DESTDIR/usr/share/applications/ \ |
slaxemulator@13168 | 26 etcdir=$DESTDIR/etc/$PACKAGE install |
slaxemulator@13168 | 27 # Patch config - replace "usr/local" by "usr" |
slaxemulator@13168 | 28 sed -i 's/usr\/local/usr/g' $DESTDIR/etc/$PACKAGE/airoscript-ng_advanced.conf |
slaxemulator@13168 | 29 |
slaxemulator@13168 | 30 # Patch executable to find config files |
slaxemulator@13168 | 31 sed -i 's/etc\//etc\/airoscript-ng\//g' $DESTDIR/usr/sbin/$PACKAGE |
al@19264 | 32 |
al@19275 | 33 cook_pick_manpages $src/src/airoscript-ng.1 |
slaxemulator@7524 | 34 } |
slaxemulator@7524 | 35 |
slaxemulator@7524 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@7524 | 37 genpkg_rules() |
slaxemulator@7524 | 38 { |
slaxemulator@7524 | 39 mkdir -p $fs/usr/share |
pascal@15201 | 40 cp -a $install/usr/sbin $fs/usr |
pascal@15201 | 41 cp -a $install/usr/share/airoscript-ng $fs/usr/share |
pascal@15201 | 42 cp -a $install/etc $fs |
slaxemulator@7524 | 43 } |