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
commit5cba8db1d3ccc7ed60c00bf4babffd3c92ec14b0 (patch)
tree2c129040412357989a372ba542ad2357db86137d /net-dialup
parentRemove old 2.4.{21,22,23} -headers ebuilds, and unmask the known-to-work 2.4.... (diff)
downloadgentoo-2-5cba8db1d3ccc7ed60c00bf4babffd3c92ec14b0.tar.gz
gentoo-2-5cba8db1d3ccc7ed60c00bf4babffd3c92ec14b0.tar.bz2
gentoo-2-5cba8db1d3ccc7ed60c00bf4babffd3c92ec14b0.zip
beautify ebuild code
(Portage version: 2.0.51.22-r3)
Diffstat (limited to 'net-dialup')
-rw-r--r--net-dialup/gigaset-isdn/Manifest12
-rw-r--r--net-dialup/gigaset-isdn/gigaset-isdn-0.5.0.ebuild29
2 files changed, 14 insertions, 27 deletions
diff --git a/net-dialup/gigaset-isdn/Manifest b/net-dialup/gigaset-isdn/Manifest
index 6630170e9bc5..e61b75ec3487 100644
--- a/net-dialup/gigaset-isdn/Manifest
+++ b/net-dialup/gigaset-isdn/Manifest
@@ -1,16 +1,6 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
MD5 6aea5b57ad577da0cda4fc460ce0b8c4 gigaset-isdn-0.4.2.ebuild 1418
-MD5 662ce6c36ef4989600869e080c935913 gigaset-isdn-0.5.0.ebuild 1870
+MD5 378a398d20527b6a99ac0822453ce4d7 gigaset-isdn-0.5.0.ebuild 1760
MD5 05e362bac48eafd174d06ca47f14d8ed ChangeLog 1471
MD5 9eb85605571c4ed676553443c45cddd7 metadata.xml 306
MD5 3ea0e6f486261c8852a0ad119dbf8e43 files/digest-gigaset-isdn-0.4.2 66
MD5 dec3036043c9b1449ff7c25920372d0b files/digest-gigaset-isdn-0.5.0 147
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.2 (GNU/Linux)
-
-iD8DBQFDqF0rNSP4Vda7IdsRAq5SAJ9NZMgvNJYyHwBoFjLX1AzHEko0tgCaA4we
-BlY2KcHZXkcXqI5+q1CEnXU=
-=Fgig
------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"
}