Lines 2-12
Link Here
|
2 |
# Distributed under the terms of the GNU General Public License v2 |
2 |
# Distributed under the terms of the GNU General Public License v2 |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-dialup/fcpci/fcpci-0.1-r1.ebuild,v 1.1 2008/01/30 01:36:37 sbriesen Exp $ |
3 |
# $Header: /var/cvsroot/gentoo-x86/net-dialup/fcpci/fcpci-0.1-r1.ebuild,v 1.1 2008/01/30 01:36:37 sbriesen Exp $ |
4 |
|
4 |
|
5 |
inherit eutils rpm linux-mod |
5 |
EAPI=2 |
|
|
6 |
inherit eutils rpm linux-mod versionator |
6 |
|
7 |
|
7 |
DESCRIPTION="AVM kernel 2.6 modules for Fritz!Card PCI" |
8 |
DESCRIPTION="AVM kernel 2.6 modules for Fritz!Card PCI" |
8 |
HOMEPAGE="http://opensuse.foehr-it.de/" |
9 |
HOMEPAGE="http://opensuse.foehr-it.de/" |
9 |
SRC_URI="http://opensuse.foehr-it.de/rpms/10_3/src/${P}-0.src.rpm" |
10 |
#SRC_URI="http://opensuse.foehr-it.de/rpms/10_3/src/${P}-0.src.rpm" |
|
|
11 |
SRC_URI="http://opensuse.foehr-it.de/rpms/11_2/src/${P}-0.src.rpm |
12 |
-> ${P}-0.src-11_2.rpm" |
10 |
|
13 |
|
11 |
LICENSE="AVM-FC" |
14 |
LICENSE="AVM-FC" |
12 |
SLOT="0" |
15 |
SLOT="0" |
Lines 35-44
Link Here
|
35 |
if use amd64; then |
38 |
if use amd64; then |
36 |
BIT="64bit-" PAT="1234" |
39 |
BIT="64bit-" PAT="1234" |
37 |
fi |
40 |
fi |
38 |
|
41 |
|
39 |
rpm_unpack "${DISTDIR}/${A}" || die "failed to unpack ${A} file" |
42 |
rpm_unpack "${A}" || die "failed to unpack ${A} file" |
40 |
DISTDIR="${WORKDIR}" unpack ${PN}-suse[0-9][0-9]-${BIT}[0-9].[0-9]*-[0-9]*.tar.gz |
43 |
DISTDIR="${WORKDIR}" unpack ${PN}-suse[0-9][0-9]-${BIT}[0-9].[0-9]*-[0-9]*.tar.gz |
41 |
|
44 |
|
|
|
45 |
if kernel_is ge 2 6 31 ; then |
46 |
einfo "Registering additional patches for kernels >= 2.6.31" |
47 |
PAT="${PAT}67" |
48 |
fi |
49 |
|
42 |
cd "${S}" |
50 |
cd "${S}" |
43 |
epatch $(sed -n "s|^Patch[${PAT}]:\s*\(.*\)|../\1|p" ../${PN}.spec) |
51 |
epatch $(sed -n "s|^Patch[${PAT}]:\s*\(.*\)|../\1|p" ../${PN}.spec) |
44 |
convert_to_m src/Makefile |
52 |
convert_to_m src/Makefile |