summaryrefslogtreecommitdiff
path: root/dev-lua/lua-zlib
diff options
context:
space:
mode:
Diffstat (limited to 'dev-lua/lua-zlib')
-rw-r--r--dev-lua/lua-zlib/Manifest7
-rw-r--r--dev-lua/lua-zlib/lua-zlib-0.3.ebuild31
-rw-r--r--dev-lua/lua-zlib/lua-zlib-1.1.ebuild25
-rw-r--r--dev-lua/lua-zlib/metadata.xml8
4 files changed, 71 insertions, 0 deletions
diff --git a/dev-lua/lua-zlib/Manifest b/dev-lua/lua-zlib/Manifest
new file mode 100644
index 000000000000..18f98b5ceaff
--- /dev/null
+++ b/dev-lua/lua-zlib/Manifest
@@ -0,0 +1,7 @@
+DIST lua-zlib-0.3.tgz 11220 SHA256 c7d687e9fddc0a094cb47587e50bebf9fd632bf72f74b61b2dcf1a37dd8c4b3a SHA512 99711166637d394c806dd16b86a3588ff84eb9180d2da05725ff6d4e86458d1ded7a5fbb303284fa442fd0925bc94fe34772057e0190c1a3e00cbb853865941d WHIRLPOOL 6735aad7e34ca1b19548e2c130c02807e269329f3296664a5bf18577e678304b5a20040358966eed6b9c3a94756df5e82ffa878df956982effd3d1e447b1b643
+DIST lua-zlib-1.1.tar.gz 16572 SHA256 9f0820cc14873248a0c5ae22623cb2fc767fb830e47f6b34b01d71a6e1db2356 SHA512 df9768efb96be8175b6afe1fd347b268565ecd93a71dd0f1f7ec1b710fd52bbd7a7c37a89f7c3d939906c7ac1578e9bdb542a0052673b6ac6eec7285d7f75633 WHIRLPOOL b7682bca07b4f05119c322ae7eccac15bf1302202550732cf583bbff93ecaaac777cb34d179b9afb32efb805317da879fef9f863a1e1f99a2dcc6a86dfd1e8c1
+EBUILD lua-zlib-0.3.ebuild 606 SHA256 c88ee4ba5b2e256cbf6d08cc65bcc77fec53b8232ccc2fc23c278f62b0516e48 SHA512 1963c423ae02a4da94a904ad98f851aa9f725a79d6987b9681041dbc5de784401c9416d4a7bde6c0abea33796aa4172515d625ad640ff9aa54c108a35f676de7 WHIRLPOOL 3f535cd371cf5aabb4cadb729367381405179d6c0be7fe301d72b84d43a5dbf1156bb0d3138b645f556eab3dd9db62c3a50498535a97e3d62f7517b282f22d4e
+EBUILD lua-zlib-1.1.ebuild 569 SHA256 2a81985470e9528ecc459c992b8995de75475f7767d9b50a8e99405779bc8596 SHA512 7702870cd6a873857c01a9e76c391ebe0d9424b4354d43eb0d8e6eec4481e32776a3da1073935356aacae7b3d038cb50466b3056a17c1bb7b2870e4f95c500b3 WHIRLPOOL 14ee4a2e2ce224b9b52227d245d5e72ef0bc2f7b1520edf1a5c74d9b7d4d358acaa880abe3588963e49fbecd73f11d89df7baffe73055991fe6e0ce3ce8d4e9a
+MISC ChangeLog 2861 SHA256 7a72292c5c862044fc80eb02d7a0e1b3fa4387e308bac29a379adf76dbd05208 SHA512 f83b3aa5f9bbcf6fff1d60ce6c4cdb4aee6e0c977cbb5a312d4d66a39295038ed301dce381ddb1dbd040d8c8c84f7b2cf6333b50530570b9c0f40ced8a373ae5 WHIRLPOOL d5228ff6525f63ddfb37b9ec3f2e8d74142a77c6093e17ce8d8021b3c690b1215e1133ee330f2a3690f0c67c095b073c8cc654e13ddcf3105f2ad7ab68a04fd5
+MISC ChangeLog-2015 1815 SHA256 5714e8109b043ebe5f882966e19b4a9342f75296602900cc9837a52de25243c5 SHA512 2dacbbfa2e7b0c16f5fb371b55514622eebcd0823be9c71730ecf6b9792652eb877b14791ca577fb1bb0a937720301a95ea64ff01f82babb05e45d8009b9e502 WHIRLPOOL 4a257b96ff573805fad766df3b9643b71f1002e132a194e00763f533cec1e90942fe9184fc2e6e439b02dcd05af73a7692d0fc19570dcce268b6d23138c38b12
+MISC metadata.xml 255 SHA256 4c1ffb569d0a81ccbcca36452e8ee446675eecc0816844061066671fda74d168 SHA512 3d46a3689375944f47933ce2af13543ecb79bce6a7eaad56083931111c277da45d3b8120bdc1643985cd746be3ffc84017da34038adc05367e90601e883e5b92 WHIRLPOOL 21dd5039a0b58e00169dd3a1dfdc6df79ada9f90f19e57bc9ce372498a79c2baa25cc3cc0473702dc5eb9f1111e3a11062e881f6edff2ee5eb3f69c854eaf424
diff --git a/dev-lua/lua-zlib/lua-zlib-0.3.ebuild b/dev-lua/lua-zlib/lua-zlib-0.3.ebuild
new file mode 100644
index 000000000000..dfdba4a1a635
--- /dev/null
+++ b/dev-lua/lua-zlib/lua-zlib-0.3.ebuild
@@ -0,0 +1,31 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=5
+
+inherit cmake-utils
+
+DESCRIPTION="Lua bindings to zlib"
+HOMEPAGE="https://github.com/brimworks/lua-zlib"
+SRC_URI="https://github.com/brimworks/${PN}/tarball/v${PV} -> ${P}.tgz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 arm x86"
+IUSE=""
+
+RDEPEND="
+ dev-lang/lua:0
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_unpack() {
+ unpack ${A}
+ mv *-${PN}-* "${S}"
+}
+
+src_configure() {
+ MYCMAKEARGS="-DINSTALL_CMOD='$(pkg-config --variable INSTALL_CMOD lua)'"
+ cmake-utils_src_configure
+}
diff --git a/dev-lua/lua-zlib/lua-zlib-1.1.ebuild b/dev-lua/lua-zlib/lua-zlib-1.1.ebuild
new file mode 100644
index 000000000000..f036e0a8aea6
--- /dev/null
+++ b/dev-lua/lua-zlib/lua-zlib-1.1.ebuild
@@ -0,0 +1,25 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit cmake-utils
+
+DESCRIPTION="Lua bindings to zlib"
+HOMEPAGE="https://github.com/brimworks/lua-zlib"
+SRC_URI="https://github.com/brimworks/${PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="MIT"
+SLOT="0"
+KEYWORDS="amd64 ~arm x86"
+IUSE=""
+
+RDEPEND="dev-lang/lua:0
+ sys-libs/zlib"
+DEPEND="${RDEPEND}
+ virtual/pkgconfig"
+
+src_configure() {
+ local mycmakeargs=(-DINSTALL_CMOD="$(pkg-config --variable INSTALL_CMOD lua)")
+ cmake-utils_src_configure
+}
diff --git a/dev-lua/lua-zlib/metadata.xml b/dev-lua/lua-zlib/metadata.xml
new file mode 100644
index 000000000000..b89e350d8c26
--- /dev/null
+++ b/dev-lua/lua-zlib/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <!-- maintainer-needed -->
+ <upstream>
+ <remote-id type="github">brimworks/lua-zlib</remote-id>
+ </upstream>
+</pkgmetadata>