summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAchim Gottinger <achim@gentoo.org>2001-02-22 13:25:02 +0000
committerAchim Gottinger <achim@gentoo.org>2001-02-22 13:25:02 +0000
commit786e6ce15e0aff72b162b06a71a5bd5afcbb0836 (patch)
tree3a895c0b0f790a7dc1cc5e2a27a5edd1e3ccf223 /media-libs
parent This patch adds the possibility to turn off gpm-support (diff)
downloadgentoo-2-786e6ce15e0aff72b162b06a71a5bd5afcbb0836.tar.gz
gentoo-2-786e6ce15e0aff72b162b06a71a5bd5afcbb0836.tar.bz2
gentoo-2-786e6ce15e0aff72b162b06a71a5bd5afcbb0836.zip
Now gpm support can be triggered with USE gpm
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/aalib/aalib-1.2-r1.ebuild22
1 files changed, 20 insertions, 2 deletions
diff --git a/media-libs/aalib/aalib-1.2-r1.ebuild b/media-libs/aalib/aalib-1.2-r1.ebuild
index 1f23799b825e..4a79b24e4cb9 100644
--- a/media-libs/aalib/aalib-1.2-r1.ebuild
+++ b/media-libs/aalib/aalib-1.2-r1.ebuild
@@ -1,7 +1,7 @@
# Copyright 1999-2000 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License, v2 or later
# Author Achim Gottinger <achim@gentoo.org>
-# $Header: /var/cvsroot/gentoo-x86/media-libs/aalib/aalib-1.2-r1.ebuild,v 1.1 2001/02/13 14:29:40 achim Exp $
+# $Header: /var/cvsroot/gentoo-x86/media-libs/aalib/aalib-1.2-r1.ebuild,v 1.2 2001/02/22 13:25:02 achim Exp $
A=${P}.tar.gz
S=${WORKDIR}/${P}
@@ -9,10 +9,24 @@ DESCRIPTION="A ASCI-Graphics Library"
SRC_URI="ftp://ftp.ta.jcu.cz/pub/aa/${A}"
HOMEPAGE="http://www.ta.jcu.cz/aa/"
-DEPEND=">=sys-libs/ncurses-5.1
+DEPEND="sys-devel/autoconf
+ >=sys-libs/ncurses-5.1
slang? ( >=sys-libs/slang-1.4.2 )
X? ( >=x11-base/xfree-4.0.1 )"
+RDEPEND=">=sys-libs/ncurses-5.1
+ slang? ( >=sys-libs/slang-1.4.2 )
+ X? ( >=x11-base/xfree-4.0.1 )"
+
+src_unpack() {
+
+ unpack ${A}
+ cd ${S}
+ patch -p0 < ${FILESDIR}/configure-gpm.diff
+ autoconf
+
+}
+
src_compile() {
local myconf
@@ -28,6 +42,10 @@ src_compile() {
else
myconf="${myconf} --with-x11-driver=no"
fi
+ if [ -z "`use gpm`" ]
+ then
+ myconf="${myconf} --with-gpm-mouse=no"
+ fi
try ./configure --prefix=/usr --infodir=/usr/share/info --host=${CHOST} ${myconf}
try make