summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'media-libs/aalib/aalib-1.2-r1.ebuild')
-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