summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2003-08-03 03:24:56 +0000
committerMike Frysinger <vapier@gentoo.org>2003-08-03 03:24:56 +0000
commit6d611c1e2758ef595e970cdc189225a8e990eaf5 (patch)
tree66d0384f71d08413857d49bd8a4920a858ce9552 /net-dialup/speedtouch
parent$DEBUGBUILD -> use debug (diff)
downloadgentoo-2-6d611c1e2758ef595e970cdc189225a8e990eaf5.tar.gz
gentoo-2-6d611c1e2758ef595e970cdc189225a8e990eaf5.tar.bz2
gentoo-2-6d611c1e2758ef595e970cdc189225a8e990eaf5.zip
$DEBUG -> use debug
Diffstat (limited to 'net-dialup/speedtouch')
-rw-r--r--net-dialup/speedtouch/speedtouch-1.1.ebuild9
-rw-r--r--net-dialup/speedtouch/speedtouch-1.2_beta1.ebuild13
2 files changed, 11 insertions, 11 deletions
diff --git a/net-dialup/speedtouch/speedtouch-1.1.ebuild b/net-dialup/speedtouch/speedtouch-1.1.ebuild
index e035fd1448c9..ac9fa4c0a31b 100644
--- a/net-dialup/speedtouch/speedtouch-1.1.ebuild
+++ b/net-dialup/speedtouch/speedtouch-1.1.ebuild
@@ -1,10 +1,11 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/speedtouch/speedtouch-1.1.ebuild,v 1.6 2003/07/18 21:03:47 tester Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/speedtouch/speedtouch-1.1.ebuild,v 1.7 2003/08/03 03:24:56 vapier Exp $
DESCRIPTION="GPL Driver for the Alcatel Speedtouch USB under *nix"
+HOMEPAGE="http://speedtouch.sf.net/"
SRC_URI="mirror://sourceforge/speedtouch/${P}.tar.bz2"
-HOMEPAGE="http://speedtouch.sf.net"
+
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~alpha ~hppa amd64"
@@ -15,7 +16,7 @@ RDEPEND=">=net-dialup/ppp-2.4.1"
src_compile() {
local myconf
- [ "${DEBUG:+set}" = set ] && myconf="--enable-debug"
+ [ `use debug` ] && myconf="--enable-debug"
use static && myconf="${myconf} --enable-static"
sed 's/^C$/#&/' < configure > configure.new
@@ -29,7 +30,7 @@ src_compile() {
emake || die "make failed"
}
-src_install () {
+src_install() {
einstall || die
echo $(find ${D}/usr/share/doc/speedtouch/ -type f) | xargs dodoc
diff --git a/net-dialup/speedtouch/speedtouch-1.2_beta1.ebuild b/net-dialup/speedtouch/speedtouch-1.2_beta1.ebuild
index 3dd7036417c9..18e6c72b7a34 100644
--- a/net-dialup/speedtouch/speedtouch-1.2_beta1.ebuild
+++ b/net-dialup/speedtouch/speedtouch-1.2_beta1.ebuild
@@ -1,14 +1,15 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-dialup/speedtouch/speedtouch-1.2_beta1.ebuild,v 1.4 2003/07/28 15:59:10 gmsoft Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-dialup/speedtouch/speedtouch-1.2_beta1.ebuild,v 1.5 2003/08/03 03:24:56 vapier Exp $
inherit flag-o-matic
+filter-flags -mpowerpc-gfxopt -mpowerpc-gpopt
+MY_P=${P/_/-}
DESCRIPTION="GPL Driver for the Alcatel Speedtouch USB under *nix"
-P=${P/_/-}
-SRC_URI="mirror://sourceforge/speedtouch/${P}.tar.bz2"
+HOMEPAGE="http://speedtouch.sf.net/"
+SRC_URI="mirror://sourceforge/speedtouch/${MY_P}.tar.bz2"
-HOMEPAGE="http://speedtouch.sf.net"
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="x86 ~ppc ~alpha hppa amd64"
@@ -16,12 +17,10 @@ KEYWORDS="x86 ~ppc ~alpha hppa amd64"
DEPEND=""
RDEPEND=">=net-dialup/ppp-2.4.1"
-filter-flags -mpowerpc-gfxopt -mpowerpc-gpopt
-
src_compile() {
local myconf
- [ "${DEBUG:+set}" = set ] && myconf="--enable-debug"
+ [ `use debug` ] && myconf="--enable-debug"
use static && myconf="${myconf} --enable-static"
sed 's/^C$/#&/' < configure > configure.new