wok-next diff aircrack-ng/receipt @ rev 21021

Combine slitaz-dev-tools
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Nov 03 03:56:00 2018 +0200 (2018-11-03)
parents e6615350078d
children 21ab7a6eb192
line diff
     1.1 --- a/aircrack-ng/receipt	Wed Feb 28 16:28:07 2018 +0200
     1.2 +++ b/aircrack-ng/receipt	Sat Nov 03 03:56:00 2018 +0200
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt v2.
     1.5  
     1.6  PACKAGE="aircrack-ng"
     1.7 -VERSION="1.2-rc4"
     1.8 +VERSION="1.3"
     1.9  CATEGORY="network"
    1.10  SHORT_DESC="802.11 WEP and WPA-PSK keys cracking program"
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -11,26 +11,24 @@
    1.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.14  WGET_URL="https://download.aircrack-ng.org/$TARBALL"
    1.15  
    1.16 -BUILD_DEPENDS="libnl-dev coreutils-file-special openssl-dev sqlite3-dev \
    1.17 -zlib-dev"
    1.18 +BUILD_DEPENDS="automake libtool openssl-dev ethtool libnl-dev python-dev \
    1.19 +libpcap-dev pcre-dev sqlite3-dev zlib-dev cmocka-dev"
    1.20  
    1.21  compile_rules() {
    1.22 -	make \
    1.23 -		sqlite=true \
    1.24 -		experimental=true &&
    1.25 -	make \
    1.26 -		sqlite=true \
    1.27 -		experimental=true \
    1.28 -		bindir=/usr/bin \
    1.29 -		sbindir=/usr/sbin \
    1.30 -		mandir=/usr/share/man/man1/ \
    1.31 -		smandir=/usr/share/man/man8/ \
    1.32 -		DESTDIR=$install \
    1.33 -		install
    1.34 +	autoreconf -fiv
    1.35 +
    1.36 +	./configure \
    1.37 +		--with-experimental \
    1.38 +		--with-ext-scripts \
    1.39 +		$CONFIGURE_ARGS &&
    1.40 +	fix libtool &&
    1.41 +	make &&
    1.42 +	make install
    1.43  }
    1.44  
    1.45  genpkg_rules() {
    1.46  	copy @std
    1.47 -	DEPENDS="openssl libnl libsqlite3 zlib   aircrack-ng-oui iw"
    1.48 +	DEPENDS="libnl libpcap libpcre libsqlite3 openssl python zlib   \
    1.49 +	aircrack-ng-oui iw"
    1.50  	PROVIDE="aircrack-ng-scripts"
    1.51  }