summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-dialup/speedtouch/speedtouch-1.2_beta1.ebuild')
-rw-r--r--net-dialup/speedtouch/speedtouch-1.2_beta1.ebuild13
1 files changed, 6 insertions, 7 deletions
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