mirror of
https://github.com/pentoo/pentoo-overlay
synced 2026-04-20 22:01:11 +02:00
* Added the actual ebuild for aircrack-ng-1.0rc1
This commit is contained in:
parent
2dfefae4ac
commit
76196c65f1
3 changed files with 70 additions and 0 deletions
44
net-wireless/aircrack-ng/aircrack-ng-1.0_rc1.ebuild
Normal file
44
net-wireless/aircrack-ng/aircrack-ng-1.0_rc1.ebuild
Normal file
|
|
@ -0,0 +1,44 @@
|
|||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit versionator
|
||||
|
||||
MY_PV=$(replace_version_separator 2 '-')
|
||||
|
||||
DESCRIPTION="WLAN tools for breaking 802.11 WEP/WPA keys"
|
||||
HOMEPAGE="http://www.aircrack-ng.org"
|
||||
SRC_URI="http://download.aircrack-ng.org/${PN}-${MY_PV}.tar.gz"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="~x86"
|
||||
|
||||
IUSE="+sqlite"
|
||||
|
||||
DEPEND="dev-libs/openssl
|
||||
sqlite? ( >=dev-db/sqlite-3.4 )"
|
||||
RDEPEND="${DEPEND}
|
||||
net-wireless/iw"
|
||||
|
||||
S="${WORKDIR}/${PN}-${MY_PV}"
|
||||
|
||||
have_sqlite() {
|
||||
use sqlite && echo "true" || echo "false"
|
||||
}
|
||||
|
||||
src_compile() {
|
||||
emake sqlite=$(have_sqlite) || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake \
|
||||
prefix="${ROOT}/usr" \
|
||||
mandir="${ROOT}/usr/share/man/man1" \
|
||||
DESTDIR="${D}" \
|
||||
sqlite=$(have_sqlite) \
|
||||
install \
|
||||
|| die "emake install failed"
|
||||
|
||||
dodoc AUTHORS ChangeLog INSTALLING LICENSE README
|
||||
}
|
||||
2
net-wireless/iw/Manifest
Normal file
2
net-wireless/iw/Manifest
Normal file
|
|
@ -0,0 +1,2 @@
|
|||
DIST iw.tar.bz2 10150 RMD160 50caefec6ae19bc41d9c9009c77068483947df74 SHA1 70feca0c908ae3581eb1cc49acfa7ade98074cf8 SHA256 1867abfb7273985fdef84199f0dbbd43238f4c79396acdfd6d2aaaf298f2d51d
|
||||
EBUILD iw-0.1.ebuild 479 RMD160 9f0f82df0bdb67b0077045198266e11c9e8973f2 SHA1 4e3ef5ffdd01ea098baf3223b79ac9421eeb0d84 SHA256 0de09161f2612e5cccfb1a9358240a247eba42c14980987176e32227b69fb4ba
|
||||
24
net-wireless/iw/iw-0.1.ebuild
Normal file
24
net-wireless/iw/iw-0.1.ebuild
Normal file
|
|
@ -0,0 +1,24 @@
|
|||
# Copyright 1999-2008 Gentoo Foundation
|
||||
# Distributed under the terms of the GNU General Public License v2
|
||||
# $Header: $
|
||||
|
||||
inherit versionator
|
||||
|
||||
DESCRIPTION="Extra tool for use with aircrack-ng"
|
||||
HOMEPAGE="http://www.aircrack-ng.org"
|
||||
SRC_URI="http://dl.aircrack-ng.org/${PN}.tar.bz2"
|
||||
|
||||
LICENSE="GPL-2"
|
||||
SLOT="0"
|
||||
KEYWORDS="x86 amd64"
|
||||
|
||||
DEPEND=">=dev-libs/libnl-1.1"
|
||||
RDEPEND="${DEPEND}"
|
||||
|
||||
src_compile() {
|
||||
emake || die "emake failed"
|
||||
}
|
||||
|
||||
src_install() {
|
||||
emake install DESTDIR="${D}/usr"
|
||||
}
|
||||
Loading…
Reference in a new issue