blob: eb7e17a884239c4ac52bc1d4f26a86a51b16e58d (
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
|
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/hcfusbmodem/hcfusbmodem-1.11-r1.ebuild,v 1.1 2007/08/28 19:00:02 mrness Exp $
inherit linux-info eutils
DESCRIPTION="hcfusbmodem - Modem driver for Connexant HSF chipset"
SRC_URI="http://www.linuxant.com/drivers/hcf/full/archive/${P}powerpcfull.tar.gz"
HOMEPAGE="http://www.linuxant.com/drivers/"
IUSE=""
SLOT="0"
LICENSE="Conexant"
KEYWORDS="-* ~ppc"
DEPEND="dev-lang/perl
app-arch/cpio"
S="${WORKDIR}/${P}powerpcfull"
QA_EXECSTACK="usr/lib/hcfusbmodem/modules/imported/hcfblam-powerpc.O usr/lib/hcfusbmodem/modules/imported/hcfengine-powerpc.O"
src_unpack() {
unpack ${A}
epatch "${FILESDIR}"/${P}-unset-locale.patch
}
src_compile() {
emake all || die "make failed"
}
src_install () {
make PREFIX="${D}/usr/" ROOT="${D}" install || die "make install failed"
}
pkg_postinst() {
elog "To complete the installation and configuration of your HCF modem,"
elog "please run hcfusbconfig."
}
|