diff options
Diffstat (limited to 'games-kids/stickers/stickers-0.1.3-r2.ebuild')
-rw-r--r-- | games-kids/stickers/stickers-0.1.3-r2.ebuild | 23 |
1 files changed, 11 insertions, 12 deletions
diff --git a/games-kids/stickers/stickers-0.1.3-r2.ebuild b/games-kids/stickers/stickers-0.1.3-r2.ebuild index 4fde1802fc32..ceb0a4462e18 100644 --- a/games-kids/stickers/stickers-0.1.3-r2.ebuild +++ b/games-kids/stickers/stickers-0.1.3-r2.ebuild @@ -1,7 +1,8 @@ -# Copyright 1999-2008 Gentoo Foundation +# Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/games-kids/stickers/stickers-0.1.3-r2.ebuild,v 1.3 2008/02/29 19:28:54 carlo Exp $ +# $Header: /var/cvsroot/gentoo-x86/games-kids/stickers/stickers-0.1.3-r2.ebuild,v 1.4 2009/01/12 16:27:48 mr_bones_ Exp $ +EAPI=2 inherit eutils DESCRIPTION="Stickers Book for small children" @@ -13,26 +14,25 @@ SLOT="0" KEYWORDS="amd64 ppc x86" IUSE="nls" -RDEPEND="media-libs/imlib +RDEPEND="media-libs/imlib[gtk] x11-libs/libXext x11-libs/libX11 x11-libs/libXi - =x11-libs/gtk+-1.2* + x11-libs/gtk+:1 nls? ( virtual/libintl )" DEPEND="${RDEPEND} x11-proto/xextproto x11-proto/xproto nls? ( sys-devel/gettext )" -src_unpack() { - unpack ${A} +src_prepare() { # gcc34 fix? (bug #72734) sed -i \ - -e '/ONTRACE/d' "${S}/rc.c" \ + -e '/ONTRACE/d' rc.c \ || die "sed failed" } -src_compile() { +src_configure() { local myconf use nls || myconf="${myconf} --disable-nls" @@ -41,15 +41,14 @@ src_compile() { --infodir=/usr/share/info \ --mandir=/usr/share/man \ ${myconf} || die "configure failed" - emake || die "emake failed" } src_install () { - make \ + emake \ prefix="${D}/usr" \ infodir="${D}/usr/share/info" \ mandir="${D}/usr/share/man" install \ - || die "make install failed" + || die "emake install failed" newicon scenes/Aquarium.scene.xpm ${PN}.xpm - make_desktop_entry ${PN} Stickers ${PN} + make_desktop_entry ${PN} Stickers } |