summaryrefslogtreecommitdiff
blob: 65e861acb91f6a6b5f5265b8cb4fa9e3e149e95a (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
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-misc/cisco-aironet-client-utils/cisco-aironet-client-utils-2.1.ebuild,v 1.5 2004/07/01 20:53:55 squinky86 Exp $

DESCRIPTION="Cisco Aironet Client Utilities"
HOMEPAGE="http://www.cisco.com/pcgi-bin/tablebuild.pl/aironet-utils-linux"
SRC_URI="linux-acu-driver-v21.tar.gz"

LICENSE="cisco"
SLOT=0
KEYWORDS="-* x86"
RESTRICT="fetch"
IUSE=""

DEPEND="virtual/libc
	sys-apps/pcmcia-cs"

RDEPEND="virtual/x11
	=x11-libs/gtk+-1.2*
	<=dev-cpp/gtkmm-2.0"

S=${WORKDIR}


pkg_nofetch() {
	eerror "Please goto:"
	eerror " ${HOMEPAGE}"
	eerror "and download"
	eerror " ${A}"
	eerror "to ${DISTDIR}"
}

src_unpack() {
	mkdir -p ${S}
	cd ${S}
	unpack ${A}
}

src_install() {
	pwd
	exeinto /opt/cisco/bin
	doexe linux/utilities/redhat90/{acu,bcard,leap{set,script,login}} \
		|| die "Copying binaries"

	insinto /opt/cisco
	doins linux/ACU.PRFS || die "Copying defaults"
	chmod a+rw ${D}/opt/cisco/ACU.PRFS || die "Making defaults writable"

	doins linux/helpml.tar.gz
	pushd ${D}/opt/cisco > /dev/null
	tar zxf helpml.tar.gz
	rm -f helpml.tar.gz
	popd > /dev/null

	insinto /etc/env.d
	doins ${FILESDIR}/90cisco
}