diff options
author | Jeremy Huddleston <eradicator@gentoo.org> | 2005-05-03 20:35:45 +0000 |
---|---|---|
committer | Jeremy Huddleston <eradicator@gentoo.org> | 2005-05-03 20:35:45 +0000 |
commit | 8a165ff8610a6e5af96dbc88a87971bf878474bd (patch) | |
tree | 28790073b9327e68248026206caa1715f3771240 /media-libs/aalib/aalib-1.4_rc5.ebuild | |
parent | header fix; trim trailing whitespace (diff) | |
download | gentoo-2-8a165ff8610a6e5af96dbc88a87971bf878474bd.tar.gz gentoo-2-8a165ff8610a6e5af96dbc88a87971bf878474bd.tar.bz2 gentoo-2-8a165ff8610a6e5af96dbc88a87971bf878474bd.zip |
Version bump and now correctly install both static and shared libs.
(Portage version: 2.0.51.21)
Diffstat (limited to 'media-libs/aalib/aalib-1.4_rc5.ebuild')
-rw-r--r-- | media-libs/aalib/aalib-1.4_rc5.ebuild | 46 |
1 files changed, 46 insertions, 0 deletions
diff --git a/media-libs/aalib/aalib-1.4_rc5.ebuild b/media-libs/aalib/aalib-1.4_rc5.ebuild new file mode 100644 index 000000000000..53ff866c7b20 --- /dev/null +++ b/media-libs/aalib/aalib-1.4_rc5.ebuild @@ -0,0 +1,46 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/media-libs/aalib/aalib-1.4_rc5.ebuild,v 1.1 2005/05/03 20:35:45 eradicator Exp $ + +inherit eutils libtool toolchain-funcs + +MY_P="${P/_/}" +S="${WORKDIR}/${PN}-1.4.0" + +DESCRIPTION="A ASCII-Graphics Library" +HOMEPAGE="http://aa-project.sourceforge.net/aalib/" +SRC_URI="mirror://sourceforge/aa-project/${MY_P}.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~ppc-macos ~s390 ~sparc ~x86" +IUSE="X slang gpm" + +DEPEND=">=sys-libs/ncurses-5.1 + X? ( virtual/x11 ) + gpm? ( sys-libs/gpm ) + slang? ( >=sys-libs/slang-1.4.2 )" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${PN}-1.4_rc4-gentoo.patch + epatch "${FILESDIR}"/${PN}-1.4_rc4-m4.patch + if use ppc-macos; then + cd src + epatch "${FILESDIR}"/${PN}-osx.patch + fi +} + +src_compile() { + econf \ + $(use_with slang slang-driver) \ + $(use_with X x11-driver) \ + || die + emake CC="$(tc-getCC)" || die +} + +src_install() { + make DESTDIR="${D}" install || die + dodoc ANNOUNCE AUTHORS ChangeLog NEWS README* +} |