blob: 16df00fc0ace801328c1c73d4d2c5f045860a3c8 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
|
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-wireless/linux-wlan-ng-utils/linux-wlan-ng-utils-0.2.2.ebuild,v 1.3 2005/12/03 11:52:36 blubb Exp $
MY_P=${P/-utils/}
S=${WORKDIR}/${MY_P}
DESCRIPTION="Key generators from the linux-wlan-ng project."
HOMEPAGE="http://linux-wlan.org"
SRC_URI="ftp://ftp.linux-wlan.org/pub/linux-wlan-ng/${MY_P}.tar.bz2"
LICENSE="MPL-1.1"
SLOT="0"
KEYWORDS="~amd64 ~ppc ~x86"
IUSE=""
DEPEND="dev-libs/openssl"
RDEPEND="${DEPEND}"
KEYGENS="keygen lwepgen"
src_compile() {
for keygen in ${KEYGENS}; do
cd add-ons/${keygen}
make ${keygen} || die "Failed to make ${keygen}"
cd ${S}
done
}
src_install() {
for keygen in ${KEYGENS}; do
cd add-ons/${keygen}
dosbin ${keygen}
cd ${S}
done
}
|