summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlin Năstac <mrness@gentoo.org>2005-12-20 19:58:07 +0000
committerAlin Năstac <mrness@gentoo.org>2005-12-20 19:58:07 +0000
commit49eeb52b95492d881ae2ccfc9f68cf5418768962 (patch)
tree5c3b203695aa63693ad1c2e1bebc6f27693b85e1 /net-dialup/gigaset-isdn
parentRemove old 2.4.{21,22,23} -headers ebuilds, and unmask the known-to-work 2.4.... (diff)
downloadhistorical-49eeb52b95492d881ae2ccfc9f68cf5418768962.tar.gz
historical-49eeb52b95492d881ae2ccfc9f68cf5418768962.tar.bz2
historical-49eeb52b95492d881ae2ccfc9f68cf5418768962.zip
beautify ebuild code
Package-Manager: portage-2.0.51.22-r3
Diffstat (limited to 'net-dialup/gigaset-isdn')
-rw-r--r--net-dialup/gigaset-isdn/Manifest8
-rw-r--r--net-dialup/gigaset-isdn/gigaset-isdn-0.5.0.ebuild29
2 files changed, 17 insertions, 20 deletions
diff --git a/net-dialup/gigaset-isdn/Manifest b/net-dialup/gigaset-isdn/Manifest
index 6630170e9bc5..b56dce32b363 100644
--- a/net-dialup/gigaset-isdn/Manifest
+++ b/net-dialup/gigaset-isdn/Manifest
@@ -2,7 +2,7 @@
Hash: SHA1
MD5 6aea5b57ad577da0cda4fc460ce0b8c4 gigaset-isdn-0.4.2.ebuild 1418
-MD5 662ce6c36ef4989600869e080c935913 gigaset-isdn-0.5.0.ebuild 1870
+MD5 0b401db875aa185c1aa94b117184d437 gigaset-isdn-0.5.0.ebuild 1759
MD5 05e362bac48eafd174d06ca47f14d8ed ChangeLog 1471
MD5 9eb85605571c4ed676553443c45cddd7 metadata.xml 306
MD5 3ea0e6f486261c8852a0ad119dbf8e43 files/digest-gigaset-isdn-0.4.2 66
@@ -10,7 +10,7 @@ MD5 dec3036043c9b1449ff7c25920372d0b files/digest-gigaset-isdn-0.5.0 147
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (GNU/Linux)
-iD8DBQFDqF0rNSP4Vda7IdsRAq5SAJ9NZMgvNJYyHwBoFjLX1AzHEko0tgCaA4we
-BlY2KcHZXkcXqI5+q1CEnXU=
-=Fgig
+iD8DBQFDqGJeNSP4Vda7IdsRAl5pAJ4hXHw2SAB4Q3M1mOJhMa0RfCA5IwCeNLWs
+Zz7m6NpdCGbrbmU9G3umkmo=
+=dXd7
-----END PGP SIGNATURE-----
diff --git a/net-dialup/gigaset-isdn/gigaset-isdn-0.5.0.ebuild b/net-dialup/gigaset-isdn/gigaset-isdn-0.5.0.ebuild
index 3f880b96b1a9..9a445771bfa1 100644
--- a/net-dialup/gigaset-isdn/gigaset-isdn-0.5.0.ebuild
+++ b/net-dialup/gigaset-isdn/gigaset-isdn-0.5.0.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/gigaset-isdn/gigaset-isdn-0.5.0.ebuild,v 1.1 2005/12/20 19:35:47 mrness Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/gigaset-isdn/gigaset-isdn-0.5.0.ebuild,v 1.2 2005/12/20 19:58:07 mrness Exp $
inherit linux-mod
@@ -13,13 +13,16 @@ SRC_URI="mirror://sourceforge/gigaset307x/gigaset-driver-${PV}.tar.bz2
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~x86"
-IUSE="debug"
+IUSE=""
DEPEND="virtual/linux-sources"
-S="${WORKDIR}"
+MY_DRIVER_S="${WORKDIR}/gigaset-driver-${PV}"
+MY_FRONTEND_S="${WORKDIR}/gigaset-frontend-${PV}"
+S="${MY_FRONTEND_S}"
-MODULE_NAMES="gigaset(drivers/isdn:) bas_gigaset(drivers/isdn:) ser_gigaset(drivers/isdn:) usb_gigaset(drivers/isdn:)"
+MODULE_NAMES="gigaset(drivers/isdn:${MY_DRIVER_S}/gigaset) bas_gigaset(drivers/isdn:${MY_DRIVER_S}/gigaset)
+ ser_gigaset(drivers/isdn:${MY_DRIVER_S}/gigaset) usb_gigaset(drivers/isdn:${MY_DRIVER_S}/gigaset)"
BUILD_TARGETS="all"
CONFIG_CHECK="ISDN_I4L"
ISDN_I4L_ERROR="This driver requires that your kernel is compiled with support for ISDN4Linux (I4L)"
@@ -32,31 +35,25 @@ src_unpack() {
# Fix includes
sed -i -e "s:^INCLUDEDIRS +=:INCLUDEDIRS += \"-I${WORKDIR}/gigaset-driver-${PV}/include\":" \
- ${WORKDIR}/gigaset-frontend-${PV}/lib/Makefile
+ "${WORKDIR}/gigaset-frontend-${PV}/lib/Makefile"
}
src_compile() {
- S="${WORKDIR}/gigaset-driver-${PV}"
- cd "${S}"
- ./configure --kernel=${KV_FULL} --kerneldir=${KV_DIR} --root=${D} --prefix=/usr \
- --with-ring $(use_with debug)
+ cd "${MY_DRIVER_S}"
+ ./configure
linux-mod_src_compile
- S="${WORKDIR}/gigaset-frontend-${PV}"
- cd "${S}"
+ cd "${MY_FRONTEND_S}"
./configure --prefix=/usr || die "configure failed"
emake || die "make failed"
}
src_install () {
- S="${WORKDIR}/gigaset-driver-${PV}/gigaset"
linux-mod_src_install
- S=${WORKDIR}/gigaset-driver-${PV}
- #einstall ROOT=${D} || die "Failed to install frontend"
+ cd "${MY_DRIVER_S}"
dodoc README Release.notes TODO known_bugs.txt
- S="${WORKDIR}/gigaset-frontend-${PV}"
- cd "${S}"
+ cd "${MY_FRONTEND_S}"
einstall "DESTDIR=${D}" || die "install failed"
}