diff options
author | Michael Sterrett <mr_bones_@gentoo.org> | 2014-11-19 03:27:40 +0000 |
---|---|---|
committer | Michael Sterrett <mr_bones_@gentoo.org> | 2014-11-19 03:27:40 +0000 |
commit | 31472846a579f39981e3e898cefbb59c661c6872 (patch) | |
tree | 05a804f2378a7c19153908732fe57e7d120371f1 /games-arcade/ascii-invaders/ascii-invaders-0.1b.ebuild | |
parent | build with ncurses[tinfo] (bug #529742) (diff) | |
download | historical-31472846a579f39981e3e898cefbb59c661c6872.tar.gz historical-31472846a579f39981e3e898cefbb59c661c6872.tar.bz2 historical-31472846a579f39981e3e898cefbb59c661c6872.zip |
build with ncurses[tinfo] (bug #529802)
Package-Manager: portage-2.2.8-r2/cvs/Linux x86_64
Diffstat (limited to 'games-arcade/ascii-invaders/ascii-invaders-0.1b.ebuild')
-rw-r--r-- | games-arcade/ascii-invaders/ascii-invaders-0.1b.ebuild | 14 |
1 files changed, 8 insertions, 6 deletions
diff --git a/games-arcade/ascii-invaders/ascii-invaders-0.1b.ebuild b/games-arcade/ascii-invaders/ascii-invaders-0.1b.ebuild index 4afe9e916e93..5fbc0faea17f 100644 --- a/games-arcade/ascii-invaders/ascii-invaders-0.1b.ebuild +++ b/games-arcade/ascii-invaders/ascii-invaders-0.1b.ebuild @@ -1,8 +1,8 @@ -# Copyright 1999-2009 Gentoo Foundation +# Copyright 1999-2014 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-arcade/ascii-invaders/ascii-invaders-0.1b.ebuild,v 1.21 2009/12/19 21:10:23 grobian Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-arcade/ascii-invaders/ascii-invaders-0.1b.ebuild,v 1.22 2014/11/19 03:27:35 mr_bones_ Exp $ -EAPI=2 +EAPI=5 inherit games DESCRIPTION="Space invaders clone, using ncurses library" @@ -14,7 +14,9 @@ SLOT="0" KEYWORDS="alpha amd64 ~mips ppc ppc64 sparc x86 ~x86-fbsd ~ppc-macos" IUSE="" -DEPEND="sys-libs/ncurses" +RDEPEND="sys-libs/ncurses" +DEPEND="${RDEPEND} + virtual/pkgconfig" S=${WORKDIR}/invaders @@ -23,11 +25,11 @@ src_prepare() { } src_compile() { - emake LDLIBS=-lncurses invaders || die "emake failed" + emake LDLIBS="$(pkg-config ncurses --libs)" invaders } src_install() { - newgamesbin invaders ${PN} || die "newgamesbin failed" + newgamesbin invaders ${PN} dodoc TODO prepgamesdirs } |