summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2005-10-22 06:27:01 +0000
committerMike Frysinger <vapier@gentoo.org>2005-10-22 06:27:01 +0000
commit22b191af90575b8883d85efb329bb60ad9a54db5 (patch)
treebb65bcc14442f91e874e145af804bcde9a3cf2f6 /games-kids/lletters/lletters-0.1.95-r1.ebuild
parentAdding ~x86 to keywords (diff)
downloadgentoo-2-22b191af90575b8883d85efb329bb60ad9a54db5.tar.gz
gentoo-2-22b191af90575b8883d85efb329bb60ad9a54db5.tar.bz2
gentoo-2-22b191af90575b8883d85efb329bb60ad9a54db5.zip
Cleanup ebuild and build system #109990.
(Portage version: 2.0.53_rc6)
Diffstat (limited to 'games-kids/lletters/lletters-0.1.95-r1.ebuild')
-rw-r--r--games-kids/lletters/lletters-0.1.95-r1.ebuild27
1 files changed, 8 insertions, 19 deletions
diff --git a/games-kids/lletters/lletters-0.1.95-r1.ebuild b/games-kids/lletters/lletters-0.1.95-r1.ebuild
index 078aee1eb338..5333630b3580 100644
--- a/games-kids/lletters/lletters-0.1.95-r1.ebuild
+++ b/games-kids/lletters/lletters-0.1.95-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/games-kids/lletters/lletters-0.1.95-r1.ebuild,v 1.11 2005/04/24 02:53:07 hansmi Exp $
+# $Header: /var/cvsroot/gentoo-x86/games-kids/lletters/lletters-0.1.95-r1.ebuild,v 1.12 2005/10/22 06:27:01 vapier Exp $
inherit games
@@ -10,45 +10,34 @@ SRC_URI="mirror://sourceforge/lln/${PN}-media-0.1.9a.tar.gz
mirror://sourceforge/lln/${P}.tar.gz"
LICENSE="GPL-2"
-KEYWORDS="x86 amd64 ppc"
SLOT="0"
+KEYWORDS="amd64 ppc x86"
IUSE="nls"
DEPEND="virtual/x11
media-libs/imlib
=x11-libs/gtk+-1.2*"
-
RDEPEND="${DEPEND}
nls? ( sys-devel/gettext )"
src_unpack() {
unpack ${P}.tar.gz
cd "${S}"
- cp -f "${FILESDIR}/tellhow.h.gentoo" tellhow.h || die "cp failed"
+ cp -f "${FILESDIR}"/tellhow.h.gentoo tellhow.h || die "cp failed"
unpack lletters-media-0.1.9a.tar.gz
+ epatch "${FILESDIR}"/${P}-build.patch
}
src_compile() {
- if [ "${ARCH}" = "amd64" ]; then
- aclocal
- autoheader
- WANT_AUTOMAKE=1.4 automake -a -c
- autoconf
- libtoolize -c -f
- fi
-
- egamesconf $(use_enable nls) || die
- # Work around the po/Makefile (bug #43762)
- # Why don't people honor DESTDIR?
- sed -i \
- -e '/^prefix =/ s:/.*:$(DESTDIR)/usr:' po/Makefile \
- || die "sed po/Makefile failed"
+ egamesconf \
+ $(use_enable nls) \
+ || die
emake -C libqdwav || die "emake failed"
emake || die "emake failed"
}
src_install () {
make DESTDIR="${D}" install || die "make install failed"
- dodoc AUTHORS CREDITS ChangeLog README* TODO || die "dodoc failed"
+ dodoc AUTHORS CREDITS ChangeLog README* TODO
prepgamesdirs
}