diff options
-rw-r--r-- | dev-lua/lua-zlib/Manifest | 2 | ||||
-rw-r--r-- | dev-lua/lua-zlib/lua-zlib-0.2.ebuild | 32 |
2 files changed, 34 insertions, 0 deletions
diff --git a/dev-lua/lua-zlib/Manifest b/dev-lua/lua-zlib/Manifest new file mode 100644 index 0000000..f60a40d --- /dev/null +++ b/dev-lua/lua-zlib/Manifest @@ -0,0 +1,2 @@ +DIST lua-zlib-0.2.tgz 8116 RMD160 368992ada7dfa1ef8be305ea0d1472861b3aeeff SHA1 747fae6e1789f527f988fb5cd245bc4ea41ebc40 SHA256 af0b049232eb27f402e5fa00269158eb7f04d24e38e710676d06df38617dc8ad +EBUILD lua-zlib-0.2.ebuild 616 RMD160 454f96a92fd8c6f34dea9112ceb8ae6be85d923f SHA1 cc2bc2f7b036637c7ad987f05803ec1b0e67eeb1 SHA256 8c861405640417c6b724db9b62d3b8867943b62759b4847bf82bc5d59a92d871 diff --git a/dev-lua/lua-zlib/lua-zlib-0.2.ebuild b/dev-lua/lua-zlib/lua-zlib-0.2.ebuild new file mode 100644 index 0000000..05b73c6 --- /dev/null +++ b/dev-lua/lua-zlib/lua-zlib-0.2.ebuild @@ -0,0 +1,32 @@ +# Copyright 1999-2011 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=3 + +inherit cmake-utils + +DESCRIPTION="Lua bindings to zlib" +HOMEPAGE="http://github.com/brimworks/lua-zlib" +SRC_URI="https://github.com/brimworks/${PN}/tarball/v${PV} -> ${P}.tgz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +RDEPEND="dev-lang/lua + sys-libs/zlib" +DEPEND="${RDEPEND} + dev-util/pkgconfig" + + +src_unpack() { + unpack ${A} + mv *-${PN}-* "${S}" +} + +src_configure() { + MYCMAKEARGS="-DINSTALL_CMOD='$(pkg-config --variable INSTALL_CMOD lua)'" + cmake-utils_src_configure +} |