diff options
author | Martin Schlemmer <azarah@gentoo.org> | 2001-12-13 22:55:27 +0000 |
---|---|---|
committer | Martin Schlemmer <azarah@gentoo.org> | 2001-12-13 22:55:27 +0000 |
commit | bf069f2e2928600142a54b0800279502f402f5f1 (patch) | |
tree | c61ad9bfde42d0e77ef20946e62443339942066e /media-libs/aalib | |
parent | New portage release with (t)csh env-update support (diff) | |
download | historical-bf069f2e2928600142a54b0800279502f402f5f1.tar.gz historical-bf069f2e2928600142a54b0800279502f402f5f1.tar.bz2 historical-bf069f2e2928600142a54b0800279502f402f5f1.zip |
should fix the libtool version problem
Diffstat (limited to 'media-libs/aalib')
-rw-r--r-- | media-libs/aalib/aalib-1.4_rc4-r1.ebuild | 74 | ||||
-rw-r--r-- | media-libs/aalib/files/digest-aalib-1.4_rc4-r1 | 1 |
2 files changed, 75 insertions, 0 deletions
diff --git a/media-libs/aalib/aalib-1.4_rc4-r1.ebuild b/media-libs/aalib/aalib-1.4_rc4-r1.ebuild new file mode 100644 index 000000000000..3dba40c8a3a0 --- /dev/null +++ b/media-libs/aalib/aalib-1.4_rc4-r1.ebuild @@ -0,0 +1,74 @@ +## 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.4_rc4-r1.ebuild,v 1.1 2001/12/13 22:55:27 azarah Exp $ + +MY_P=${P/_/} +S=${WORKDIR}/${PN}-1.4.0 +DESCRIPTION="A ASCI-Graphics Library" +SRC_URI="http://prdownloads.sourceforge.net/aa-project/${MY_P}.tar.gz" +HOMEPAGE="http://www.ta.jcu.cz/aa/" + +DEPEND=">=sys-libs/ncurses-5.1 + slang? ( >=sys-libs/slang-1.4.2 ) + X? ( virtual/x11 ) + gpm? ( sys-libs/gpm )" + +RDEPEND=">=sys-libs/ncurses-5.1 + slang? ( >=sys-libs/slang-1.4.2 ) + X? ( virtual/x11 ) + gpm? ( sys-libs/gpm )" + + +src_unpack() { + + unpack ${A} + patch -p0 < ${FILESDIR}/${P}-gentoo.diff || die + touch * + + #crude libtool version fix + cp -f `which libtool` ${S} + touch ${S}/* +} + +src_compile() { + + local myconf + if [ "`use slang`" ] + then + myconf="--with-slang-driver=yes" + else + myconf="--with-slang-driver=no" + fi + + if [ "`use X`" ] + then + myconf="${myconf} --with-x11-driver=yes" + else + myconf="${myconf} --with-x11-driver=no" + fi + + if [ -z "`use gpm`" ] + then + myconf="${myconf} --with-gpm-mouse=no" + fi + + ./configure --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=${D}/usr/share/man \ + --host=${CHOST} \ + ${myconf} || die + + emake || die +} + +src_install() { + + make prefix=${D}/usr \ + infodir=${D}/usr/share/info \ + mandir=${D}/usr/share/man \ + install || die + + dodoc ANNOUNCE AUTHORS ChangeLog COPYING NEWS README* +} + diff --git a/media-libs/aalib/files/digest-aalib-1.4_rc4-r1 b/media-libs/aalib/files/digest-aalib-1.4_rc4-r1 new file mode 100644 index 000000000000..776b2b4c2a9e --- /dev/null +++ b/media-libs/aalib/files/digest-aalib-1.4_rc4-r1 @@ -0,0 +1 @@ +MD5 d5aa8e9eae07b7441298b5c30490f6a6 aalib-1.4rc4.tar.gz 397312 |