# SliTaz package receipt. PACKAGE="aircrack-ng" VERSION="1.1" CATEGORY="network" SHORT_DESC="802.11 WEP and WPA-PSK keys cracking program." MAINTAINER="pascal.bellard@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" WEB_SITE="http://www.aircrack-ng.org/" WGET_URL="http://download.aircrack-ng.org/$TARBALL" DEPENDS="iw openssl zlib" BUILD_DEPENDS="openssl-dev" # Rules to configure and make the package. compile_rules() { cd $src sed -i s#/usr/local#/usr#g common.mak || return 1 sed -i s#/man/man1#/share/man/man1# common.mak || return 1 # fix build with gcc45 sed -i s/-Werror// common.mak || return 1 make && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/sbin $fs/usr }