# ChangeLog for dev-embedded/gpio
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gpio/ChangeLog,v 1.4 2007/02/09 01:46:30 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gpio/ChangeLog,v 1.5 2007/03/08 09:57:00 genstef Exp $
+
+ 08 Mar 2007; <genstef@gentoo.org> gpio-1.3.2.ebuild:
+ Do not use eclass vars before pkg_setup, bug 168051
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gpio/gpio-1.3.2.ebuild,v 1.3 2005/01/01 17:52:45 eradicator Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/gpio/gpio-1.3.2.ebuild,v 1.4 2007/03/08 09:57:00 genstef Exp $
inherit linux-mod
DEPEND="virtual/libc"
MODULE_NAMES="gpio(kernel/drivers:) writelcd(kernel/drivers:)"
-BUILD_PARAMS="KERNELDIR=${KV_DIR}"
BUILD_TARGETS="all"
+pkg_setup() {
+ linux-mod_pkg_setup
+ BUILD_PARAMS="KERNELDIR=${KV_DIR}"
+}
+
src_unpack() {
unpack ${A}
cd ${S} || die
# ChangeLog for dev-embedded/parapin-driver
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/parapin-driver/ChangeLog,v 1.2 2007/02/09 01:48:22 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/parapin-driver/ChangeLog,v 1.3 2007/03/08 09:55:40 genstef Exp $
+
+ 08 Mar 2007; <genstef@gentoo.org> parapin-driver-1.0.0.ebuild:
+ Do not use eclass vars before pkg_setup, bug 168051
09 Feb 2007; Diego Pettenò <flameeyes@gentoo.org> ChangeLog:
Regenerate digest in Manifest2 format.
-# Copyright 1999-2005 Gentoo Foundation
+# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/dev-embedded/parapin-driver/parapin-driver-1.0.0.ebuild,v 1.1 2005/01/30 03:46:46 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-embedded/parapin-driver/parapin-driver-1.0.0.ebuild,v 1.2 2007/03/08 09:55:40 genstef Exp $
inherit linux-mod toolchain-funcs
MODULE_NAMES="kparapin(kernel:kparapin) parapindriver(kernel:parapindriver)"
BUILD_TARGETS="clean modules"
-BUILD_PARAMS="CC=$(tc-getCC) LINUX_SRC=${KV_DIR} -C .."
CONFIG_CHECK="PARPORT"
PARPORT_ERROR="Please make sure Device Drivers -> Parallel port support is enabled in your kernel"
+pkg_setup() {
+ linux-mod_pkg_setup
+ BUILD_PARAMS="CC=$(tc-getCC) LINUX_SRC=${KV_DIR} -C .."
+}
+
src_compile() {
if kernel_is ge 2 6; then
./setup-2.6.sh || die "setup-2.6.sh failed"