ChangeLog

# ChangeLog for net-dialup/fcpcmcia
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/fcpcmcia/ChangeLog,v 1.2 2008/01/30 01:38:05 sbriesen Exp $

*fcpcmcia-0.1-r1 (30 Jan 2008)

30 Jan 2008; Stefan Briesenick
+fcpcmcia-0.1-r1.ebuild:
fixing string.h problem (see bug #202385).

*fcpcmcia-0.1 (06 Jan 2008)

06 Jan 2008; Stefan Briesenick +metadata.xml,
+fcpcmcia-0.1.ebuild:
using special openSUSE repository for AVM drivers from now on.

Manifest

DIST fcpcmcia-0.1-0.src.rpm 1419843 RMD160 978787c9513e266ac9873ec5a7bedeb68bd11310 SHA1 f97e13e98373e87555e05123e468769080a3426d SHA256 5f29d945d2a8929c3a60662418373397803b80bfab948ec7f01f8ed76fed535e
EBUILD fcpcmcia-0.1-r1.ebuild 1454 RMD160 e9c78e9ec709191f79400f322ca026c5a93c8ff6 SHA1 3f01b4e9288f22cda1d22c0465fd2e2994f89a6b SHA256 509853766a28b22c4c9b777b24c4f40bedb25e6992c59e06216283c94048bc96
EBUILD fcpcmcia-0.1.ebuild 1252 RMD160 8920b04c47786edf513a6235fc96d5b4b856ca59 SHA1 a5641009b1e54545bc0454641c8aaf6d95911636 SHA256 7f61877de5d3fc2808edcc4479b6b24d682277c6fdd671783ea95e61e771e1c7
MISC ChangeLog 562 RMD160 c2bbd32fd363404417fac411620b953dfff911ba SHA1 b77d62717343b3c70f12b13eabc87bab273149a3 SHA256 801b4f55ee772e5afd391838f0ba2dfa4fee1a9b8a734b6138226bca93dc11d4
MISC metadata.xml 263 RMD160 ea2e7ecb186a7fd9b309bd3aff02c9e139981ce8 SHA1 62ca0c83d00d102d78427e59920cf79b62d37dc1 SHA256 ad6c0344e90e2a2c1f631b6d6e0242799bec90eee1eaccdc04674f52be49ea75

fcpcmcia-0.1-r1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/fcpcmcia/fcpcmcia-0.1-r1.ebuild,v 1.1 2008/01/30 01:38:05 sbriesen Exp $

inherit eutils rpm linux-mod

DESCRIPTION="AVM kernel 2.6 modules for Fritz!Card PCMCIA"
HOMEPAGE="http://opensuse.foehr-it.de/"
SRC_URI="http://opensuse.foehr-it.de/rpms/10_3/src/${P}-0.src.rpm"

LICENSE="AVM-FC"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="!net-dialup/fritzcapi"
RDEPEND="${DEPEND} net-dialup/capi4k-utils"

S="${WORKDIR}/fritz"

pkg_setup() {
linux-mod_pkg_setup

if ! kernel_is 2 6; then
die "This package works only with 2.6 kernel!"
fi

BUILD_TARGETS="all"
BUILD_PARAMS="KDIR=${KV_DIR} LIBDIR=${S}/src"
MODULE_NAMES="${PN}(net:${S}/src) ${PN}_cs(net:${S}/src)"
}

src_unpack() {
local BIT="" PAT="012345"
if use amd64; then
BIT="64bit-" PAT="12345"
fi

rpm_unpack "${DISTDIR}/${A}" || die "failed to unpack ${A} file"
DISTDIR="${WORKDIR}" unpack ${PN}-suse[0-9][0-9]-${BIT}[0-9].[0-9]*-[0-9]*.tar.gz

cd "${S}"
epatch $(sed -n "s|^Patch[${PAT}]:\s*\(.*\)|../\1|p" ../${PN}.spec)
convert_to_m src/Makefile

for i in lib/*-lib.o; do
einfo "Localize symbols in ${i##*/} ..."
objcopy -L memcmp -L memcpy -L memmove -L memset -L strcat \
-L strcmp -L strcpy -L strlen -L strncmp -L strncpy "${i}"
done
}

src_install() {
linux-mod_src_install
dodoc CAPI*.txt
dohtml *.html
}

fcpcmcia-0.1.ebuild

# Copyright 1999-2008 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/net-dialup/fcpcmcia/fcpcmcia-0.1.ebuild,v 1.1 2008/01/06 01:57:50 sbriesen Exp $

inherit eutils rpm linux-mod

DESCRIPTION="AVM kernel 2.6 modules for Fritz!Card PCMCIA"
HOMEPAGE="http://opensuse.foehr-it.de/"
SRC_URI="http://opensuse.foehr-it.de/rpms/10_3/src/${P}-0.src.rpm"

LICENSE="AVM-FC"
SLOT="0"
KEYWORDS="~amd64 ~x86"
IUSE=""

DEPEND="!net-dialup/fritzcapi"
RDEPEND="${DEPEND} net-dialup/capi4k-utils"

S="${WORKDIR}/fritz"

pkg_setup() {
linux-mod_pkg_setup

if ! kernel_is 2 6; then
die "This package works only with 2.6 kernel!"
fi

BUILD_TARGETS="all"
BUILD_PARAMS="KDIR=${KV_DIR} LIBDIR=${S}/src"
MODULE_NAMES="${PN}(net:${S}/src) ${PN}_cs(net:${S}/src)"
}

src_unpack() {
local BIT="" PAT="012345"
if use amd64; then
BIT="64bit-" PAT="12345"
fi

rpm_unpack "${DISTDIR}/${A}" || die "failed to unpack ${A} file"
DISTDIR="${WORKDIR}" unpack ${PN}-suse[0-9][0-9]-${BIT}[0-9].[0-9]*-[0-9]*.tar.gz

cd "${S}"
epatch $(sed -n "s|^Patch[${PAT}]:\s*\(.*\)|../\1|p" ../${PN}.spec)
convert_to_m "src/Makefile"
}

src_install() {
linux-mod_src_install
dodoc CAPI*.txt
dohtml *.html
}

metadata.xml




net-dialup

sbriesen@gentoo.org
Stefan Briesenick