diff options
-rw-r--r-- | dev-lua/wxlua/ChangeLog | 9 | ||||
-rw-r--r-- | dev-lua/wxlua/Manifest | 3 | ||||
-rw-r--r-- | dev-lua/wxlua/wxlua-2.8.7.0.ebuild | 47 |
3 files changed, 59 insertions, 0 deletions
diff --git a/dev-lua/wxlua/ChangeLog b/dev-lua/wxlua/ChangeLog new file mode 100644 index 0000000..10d2cff --- /dev/null +++ b/dev-lua/wxlua/ChangeLog @@ -0,0 +1,9 @@ +# ChangeLog for dev-lua/wxlua +# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: $ + +*wxlua-2.8.7.0 (21 Aug 2008) + + 21 Aug 2008; Ali Polatel <hawking@gentoo.org> +wxlua-2.8.7.0.ebuild: + Initial ebuild + diff --git a/dev-lua/wxlua/Manifest b/dev-lua/wxlua/Manifest new file mode 100644 index 0000000..d962cd9 --- /dev/null +++ b/dev-lua/wxlua/Manifest @@ -0,0 +1,3 @@ +DIST wxLua-2.8.7.0-src.tar.gz 2651232 RMD160 0f699cf4e462d8ed934b29795a684dc593a57691 SHA1 94b9b80d6a08cd358093d7ae117a151e7167dc6b SHA256 78ef2f07edef7da52671e2cf5349bf8cf8c99990682d899185204daab5726f29 +EBUILD wxlua-2.8.7.0.ebuild 1064 RMD160 a5f2f0d7c945cb176164067b402035002c50835b SHA1 2edfb1015e157aa00d3c2fd919c2d3b59c91a3fe SHA256 fa39b553ab2a42a450edfddbc414fc6c1da39be8abce0380e56ea83911451692 +MISC ChangeLog 233 RMD160 fa222e07953613a07fe349b2fd2e9f2f4a7c14e2 SHA1 3e0ab2dfb818f3180bf31ccfa2b26dceb89cf40b SHA256 84358933aa202632819c3749faee1a4724077fb8a0aebd2a7b79b284eefc1bec diff --git a/dev-lua/wxlua/wxlua-2.8.7.0.ebuild b/dev-lua/wxlua/wxlua-2.8.7.0.ebuild new file mode 100644 index 0000000..d44accb --- /dev/null +++ b/dev-lua/wxlua/wxlua-2.8.7.0.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2008 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +MY_PN="wxLua" +MY_P="${MY_PN}-${PV}" + +DESCRIPTION="Set of bindings to the wxWidgets library for the Lua programming language." +HOMEPAGE="http://wxlua.sourceforge.net/" +SRC_URI="mirror://sourceforge/${PN}/${MY_P}-src.tar.gz" + +LICENSE="" +SLOT="0" +KEYWORDS="~amd64" +IUSE="opengl unicode" + +DEPEND=">=dev-lang/lua-5.1 + >=x11-libs/wxGTK-2.8.7.0 + opengl? ( virtual/opengl )" +RDEPEND="${DEPEND}" + +S="${WORKDIR}/${MY_PN}" + +src_unpack() { + unpack ${A} + cd "${S}" + + sed -i -e "s/-llua5.1/-llua/g" \ + apps/build/msw/makefile.gcc \ + apps/Makefile.in \ + modules/build/msw/makefile.gcc \ + modules/Makefile.in \ + configure || die "sed failed" + sed -i -e "/ lua\/include/d" modules/Makefile.in || die "sed failed" +} + +src_compile() { + econf --enable-systemlua \ + $(use_enable opengl wxbindgl) \ + $(use_enable unicode) + # Parallel make fails + emake -j1 || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" +} |