diff options
Diffstat (limited to 'games-kids/lletters/lletters-0.1.95-r3.ebuild')
-rw-r--r-- | games-kids/lletters/lletters-0.1.95-r3.ebuild | 49 |
1 files changed, 49 insertions, 0 deletions
diff --git a/games-kids/lletters/lletters-0.1.95-r3.ebuild b/games-kids/lletters/lletters-0.1.95-r3.ebuild new file mode 100644 index 000000000000..4b4c872f92f3 --- /dev/null +++ b/games-kids/lletters/lletters-0.1.95-r3.ebuild @@ -0,0 +1,49 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=6 +inherit eutils + +PATCH_LEVEL=3 + +DESCRIPTION="Game that helps young kids learn their letters and numbers" +HOMEPAGE="http://lln.sourceforge.net" +SRC_URI="mirror://debian/pool/main/l/${PN}/${PN}_${PV}+gtk2.orig.tar.gz + mirror://debian/pool/main/l/${PN}/${PN}_${PV}+gtk2-${PATCH_LEVEL}.diff.gz + mirror://sourceforge/lln/${PN}-media-0.1.9a.tar.gz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="nls" + +RDEPEND="x11-libs/gtk+:2 + nls? ( virtual/libintl )" +DEPEND="${RDEPEND} + virtual/pkgconfig + nls? ( sys-devel/gettext )" + +PATCHES=( + "${WORKDIR}"/${PN}_${PV}+gtk2-${PATCH_LEVEL}.diff + "${FILESDIR}"/${P}-build-2.patch + "${FILESDIR}"/${P}-underlink.patch + "${FILESDIR}"/${P}-make-382.patch +) + +src_prepare() { + default + + cp -r "${WORKDIR}"/{images,sounds} . || die +} + +src_configure() { + econf $(use_enable nls) +} + +src_install () { + default + newdoc debian/changelog ChangeLog.debian + doicon debian/${PN}.xpm + make_desktop_entry ${PN} "Linux Letters and Numbers" ${PN} +} |