diff options
author | ILMostro <ilmostro7@gmail.com> | 2018-06-19 16:50:27 -0500 |
---|---|---|
committer | ILMostro <ilmostro7@gmail.com> | 2018-06-19 16:50:27 -0500 |
commit | b6f2eb166afddaaa62c639d2b20b0b30bcdc7446 (patch) | |
tree | bb7ee6429a2d7f9c479f4776f1ec3fe2432ef819 /dev-lua | |
parent | updated ebuild using linux-mod eclass (diff) | |
download | ag-ops-b6f2eb166afddaaa62c639d2b20b0b30bcdc7446.tar.gz ag-ops-b6f2eb166afddaaa62c639d2b20b0b30bcdc7446.tar.bz2 ag-ops-b6f2eb166afddaaa62c639d2b20b0b30bcdc7446.zip |
added packages from `dev-lua/` category
Diffstat (limited to 'dev-lua')
-rw-r--r-- | dev-lua/ldoc/Manifest | 4 | ||||
-rw-r--r-- | dev-lua/ldoc/files/ldoc-1.4.6-mkdir.patch | 10 | ||||
-rw-r--r-- | dev-lua/ldoc/ldoc-1.4.6.ebuild | 21 | ||||
-rw-r--r-- | dev-lua/ldoc/metadata.xml | 18 | ||||
-rw-r--r-- | dev-lua/lgi/Manifest | 8 | ||||
-rw-r--r-- | dev-lua/lgi/lgi-0.6.2-r1.ebuild | 53 | ||||
-rw-r--r-- | dev-lua/lgi/lgi-0.6.2.ebuild | 37 | ||||
-rw-r--r-- | dev-lua/lgi/lgi-0.7.2.ebuild | 53 | ||||
-rw-r--r-- | dev-lua/lgi/lgi-0.9.0.ebuild | 54 | ||||
-rw-r--r-- | dev-lua/lgi/metadata.xml | 10 | ||||
-rw-r--r-- | dev-lua/luafilesystem/Manifest | 7 | ||||
-rw-r--r-- | dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild | 33 | ||||
-rw-r--r-- | dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild | 33 | ||||
-rw-r--r-- | dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild | 53 | ||||
-rw-r--r-- | dev-lua/luafilesystem/metadata.xml | 14 | ||||
-rw-r--r-- | dev-lua/luaposix/Manifest | 3 | ||||
-rw-r--r-- | dev-lua/luaposix/luaposix-33.4.0.ebuild | 18 | ||||
-rw-r--r-- | dev-lua/luaposix/metadata.xml | 11 | ||||
-rw-r--r-- | dev-lua/penlight/Manifest | 3 | ||||
-rw-r--r-- | dev-lua/penlight/metadata.xml | 14 | ||||
-rw-r--r-- | dev-lua/penlight/penlight-1.3.2.ebuild | 27 |
21 files changed, 484 insertions, 0 deletions
diff --git a/dev-lua/ldoc/Manifest b/dev-lua/ldoc/Manifest new file mode 100644 index 0000000..d36b337 --- /dev/null +++ b/dev-lua/ldoc/Manifest @@ -0,0 +1,4 @@ +AUX ldoc-1.4.6-mkdir.patch 230 BLAKE2B 672617f3a20ff6f74be02db5402288b4900f2d9d52a433ec9085f2fd2ce629609b9803732c50da6da252287efc7280895c2d3ce64ad4a30cf017e893ea2c5638 SHA512 5c047b48c987d107cf810dffc615ce29e5f2192b927fa91260dacbd2daee92c9aac5eeee0bfbccd9972d47d57928c37a867b9c2d453a7c845793cab0ac01385a +DIST ldoc-1.4.6.tar.gz 126080 BLAKE2B c43a79141ce557a54b9aed3c7523b206bec85602d858c72373d650a70e1741b545b2b9bdd462856c7e16af97f6a5eeeeea26375832f678b52d9e9153547076be SHA512 bcaddba4e462a4fb0aa0d8fcff390de3f195fa5cc569d8f05b84ad0fff900f5ac945be7a2eb15cf5ca60cc462f02c874579e4a19e33776178a04104ef9d944af +EBUILD ldoc-1.4.6.ebuild 521 BLAKE2B 8fce905741fd0c7f65b2349a90fd36f1a221ad5a75f9fe75e6436e350d878a2aae39442c4a362a4f4f95062996b8b6f38185f124dbb5ccd642f6e9f76e3b1ec6 SHA512 792eba8e9308ee85af156156640271c05b1fce438ded533249203f7948c3f9b5581ab12b4f4349d24dbe635e9190364c7731a57bf567e390bfcf13212c865ad1 +MISC metadata.xml 554 BLAKE2B 001555388d6c8bfab0b395a0b7d4c3458454518f49044b79faf70291b6ac270297e7ad60b03107b2eb1688e3678ab9dd52bcf27de2cfaedbe4cb2f2c256f7fee SHA512 5f7f06c5dd79003675d63ce4eb17147775c82fd0bede0d7b9ce4d15ec51e30054a7bd817c919f1862d27557b62a750b26c56d9df0081669a1a0e2b4be08fec00 diff --git a/dev-lua/ldoc/files/ldoc-1.4.6-mkdir.patch b/dev-lua/ldoc/files/ldoc-1.4.6-mkdir.patch new file mode 100644 index 0000000..0c7a949 --- /dev/null +++ b/dev-lua/ldoc/files/ldoc-1.4.6-mkdir.patch @@ -0,0 +1,10 @@ +--- a/makefile ++++ b/makefile +@@ -6,6 +6,7 @@ + ldoc: + + install: install_parts ++ mkdir -p $(DESTDIR)$(LUA_BINDIR) + echo "lua $(LUA_SHAREDIR)/ldoc.lua \$$*" > $(DESTDIR)$(LUA_BINDIR)/ldoc + chmod +x $(DESTDIR)$(LUA_BINDIR)/ldoc + diff --git a/dev-lua/ldoc/ldoc-1.4.6.ebuild b/dev-lua/ldoc/ldoc-1.4.6.ebuild new file mode 100644 index 0000000..e7155dd --- /dev/null +++ b/dev-lua/ldoc/ldoc-1.4.6.ebuild @@ -0,0 +1,21 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="A LuaDoc-compatible documentation generation system" +HOMEPAGE="https://stevedonovan.github.io/ldoc/" +SRC_URI="https://github.com/stevedonovan/LDoc/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~ppc ~ppc64" +IUSE="" + +RDEPEND="dev-lua/penlight" +DEPEND="${RDEPEND}" + +PATCHES=( "${FILESDIR}/${PN}-1.4.6-mkdir.patch" ) + +S="${WORKDIR}/LDoc-${PV}" +RESTRICT="test" diff --git a/dev-lua/ldoc/metadata.xml b/dev-lua/ldoc/metadata.xml new file mode 100644 index 0000000..c61dd62 --- /dev/null +++ b/dev-lua/ldoc/metadata.xml @@ -0,0 +1,18 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>t@tomoyat1.com</email> + <name>Tomoya Tabuchi</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainer</name> + </maintainer> + <longdescription lang="en"> + LDoc is a LuaDoc-compatible documentation generation system. + </longdescription> + <upstream> + <remote-id type="github">stevedonovan/LDoc</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-lua/lgi/Manifest b/dev-lua/lgi/Manifest new file mode 100644 index 0000000..c15d091 --- /dev/null +++ b/dev-lua/lgi/Manifest @@ -0,0 +1,8 @@ +DIST lgi-0.6.2.tar.gz 257541 BLAKE2B 61d58b1b03fe01d43384693b21336149b06a04e638a32f46e685e0f6f1e7ad693ec3074af3ffcc789f053a2a085a58b41b81023f3b023625309f0f4ed6ae6cff SHA512 02b75f17f98d7f7240c335384a85cdb0bb1c1b117b4ea8baa065715c4e5ecac946618ef83f92ef476a87db3a17a29a0e21d71f4f79db3bc4e519cf795ae181f5 +DIST lgi-0.7.2.tar.gz 270767 BLAKE2B 491fafccbf4d8c5086b48baad0022a76a1f829e0c9a55acbfbd4eaa283c2713ef3f4863a2abf12d24bae0ccb2284506da66578c2d26ab6bda3f6d891c39a8ff4 SHA512 e661e13d6f539c2c434a6b0db9e622ee4af3c039a6488617954643f0b46a908068a14e6d37ff44437fbe5b4cb62863699107ab533aca121d4b8d584ca83c35fc +DIST lgi-0.9.0.tar.gz 285248 BLAKE2B e5e6fe79899b70f46338827296b921c04c31ac1edc82e5c7a1d443c54c409aea65a766f3666b0ff9fca63a17cb50fe9727d0722007b16a1d4a6c77c48b9f3828 SHA512 1a486a40f504740224b1d277368df65e0a30708c02422390517c2fbf961b5fec264bdbc695d306e2f5fb2aa8ad4539212ef5314b18f45e3b488fd5f492a19f9e +EBUILD lgi-0.6.2-r1.ebuild 1286 BLAKE2B 12319bf0f17bfdf5780ffc1834cf8a46bdea87c2efd270fe05c57ddafc6f9f8bbc6977f3b66c080e0c28689455bfa501ca788c2ee281ab16e136598635b9e7f4 SHA512 89b07608707c27416b944405c52441453ffe83a4dcd9fea5afbba53146fbd8ba6172be0e423a52eaea68e8b0e64a0d62530b0f69a5058bee7606ba19362f0939 +EBUILD lgi-0.6.2.ebuild 951 BLAKE2B b0cf07bba57acbc9a13af729afa7c773cb46e0de74a593c8bc4b80dc7e7f50efb1d1e06ac2c227ddf1a6489b424202a51cf764a04efecd1c4485ddeb0c77c403 SHA512 9c74e8c1bd328296587a1b958798362e4fe4476433d07beff4f6d70223f7970f070fa0ddac1ed02d72d0666878f5aa8219a209405e8aaf993e8bc67467c97b5e +EBUILD lgi-0.7.2.ebuild 1295 BLAKE2B 4732376e621ebffae6018acff5ff361d1f364c0d39edc552c5a9efbf809dbb8d39a5b577ca4083d908fee1cf387248f36c829e014f83485b38b078a93a625cfc SHA512 db8e3c3c6b0433ea3caae99914c2376e7fd0e45e465cc826dd8731bac75bc80b29850baf1b92fb92109fa4b74d3b59b9cadf0ff6d56299621e06cf24f8221eff +EBUILD lgi-0.9.0.ebuild 1295 BLAKE2B 4732376e621ebffae6018acff5ff361d1f364c0d39edc552c5a9efbf809dbb8d39a5b577ca4083d908fee1cf387248f36c829e014f83485b38b078a93a625cfc SHA512 db8e3c3c6b0433ea3caae99914c2376e7fd0e45e465cc826dd8731bac75bc80b29850baf1b92fb92109fa4b74d3b59b9cadf0ff6d56299621e06cf24f8221eff +MISC metadata.xml 301 BLAKE2B 972432d1e9e34193df27c31d01aa620d72350b1bbcf383894e65aa0fdf207bc5ad4064f289c4feb7cbe7522aefa157b5cf2d25d00df09fd62c1ffa45db9ce377 SHA512 295eba832f4a3e1c9bd1ff7349fadff65a0d887ec4df25fcd7ce975504ddaf7efe5789492bdd54f3c6e077e8612dab3f3b8abba710bbabeb2ead89d60f0370f3 diff --git a/dev-lua/lgi/lgi-0.6.2-r1.ebuild b/dev-lua/lgi/lgi-0.6.2-r1.ebuild new file mode 100644 index 0000000..3128ed2 --- /dev/null +++ b/dev-lua/lgi/lgi-0.6.2-r1.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +VIRTUALX_REQUIRED="manual" + +inherit eutils toolchain-funcs flag-o-matic virtualx + +DESCRIPTION="Lua bindings using gobject-introspection" +HOMEPAGE="https://github.com/pavouk/lgi" +SRC_URI="https://github.com/downloads/pavouk/lgi/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="examples test" + +RDEPEND=">=dev-lang/lua-5.1 + dev-libs/gobject-introspection + dev-libs/glib + virtual/libffi" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( + x11-libs/cairo[glib] + x11-libs/gtk+[introspection] + ${VIRTUALX_DEPEND} + )" + +src_prepare() { + sed -i \ + -e "s:^LUA_LIBDIR.*$:LUA_LIBDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua):" \ + -e "s:^LUA_SHAREDIR.*$:LUA_SHAREDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua):" \ + "${S}"/lgi/Makefile || die "sed failed" +} + +src_compile() { + emake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}" +} + +src_test() { + Xemake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}" check +} + +src_install() { + emake DESTDIR="${D}" install + dohtml -r docs/* + dodoc README.md + if use examples; then + dodoc -r samples + fi +} diff --git a/dev-lua/lgi/lgi-0.6.2.ebuild b/dev-lua/lgi/lgi-0.6.2.ebuild new file mode 100644 index 0000000..aa861d1 --- /dev/null +++ b/dev-lua/lgi/lgi-0.6.2.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2012 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +inherit eutils toolchain-funcs flag-o-matic + +DESCRIPTION="Lua bindings using gobject-introspection" +HOMEPAGE="https://github.com/pavouk/lgi" +SRC_URI="https://github.com/downloads/pavouk/lgi/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="" + +RDEPEND=">=dev-lang/lua-5.1 + x11-libs/gtk+[introspection]" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +src_prepare() { + sed -i \ + -e "s:^LUA_LIBDIR.*$:LUA_LIBDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua):" \ + -e "s:^LUA_SHAREDIR.*$:LUA_SHAREDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua):" \ + "${S}"/lgi/Makefile || die "sed failed" +} + +src_compile() { + emake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}" +} + +src_install() { + emake DESTDIR="${D}" install + dohtml -r docs/* + dodoc README.md +} diff --git a/dev-lua/lgi/lgi-0.7.2.ebuild b/dev-lua/lgi/lgi-0.7.2.ebuild new file mode 100644 index 0000000..bd19c1f --- /dev/null +++ b/dev-lua/lgi/lgi-0.7.2.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=4 + +VIRTUALX_REQUIRED="manual" + +inherit eutils toolchain-funcs flag-o-matic virtualx + +DESCRIPTION="Lua bindings using gobject-introspection" +HOMEPAGE="https://github.com/pavouk/lgi" +SRC_URI="https://github.com/pavouk/lgi/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm ppc ppc64 x86 ~x86-fbsd" +IUSE="examples test" + +RDEPEND=">=dev-lang/lua-5.1 + dev-libs/gobject-introspection + dev-libs/glib + virtual/libffi" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( + x11-libs/cairo[glib] + x11-libs/gtk+[introspection] + ${VIRTUALX_DEPEND} + )" + +src_prepare() { + sed -i \ + -e "s:^LUA_LIBDIR.*$:LUA_LIBDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua):" \ + -e "s:^LUA_SHAREDIR.*$:LUA_SHAREDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua):" \ + "${S}"/lgi/Makefile || die "sed failed" +} + +src_compile() { + emake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}" +} + +src_test() { + Xemake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}" check +} + +src_install() { + emake DESTDIR="${D}" install + dohtml -r docs/* + dodoc README.md + if use examples; then + dodoc -r samples + fi +} diff --git a/dev-lua/lgi/lgi-0.9.0.ebuild b/dev-lua/lgi/lgi-0.9.0.ebuild new file mode 100644 index 0000000..a1c5995 --- /dev/null +++ b/dev-lua/lgi/lgi-0.9.0.ebuild @@ -0,0 +1,54 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +VIRTUALX_REQUIRED="manual" + +inherit eutils toolchain-funcs flag-o-matic virtualx + +DESCRIPTION="Lua bindings using gobject-introspection" +HOMEPAGE="https://github.com/pavouk/lgi" +SRC_URI="https://github.com/pavouk/lgi/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm ppc ppc64 x86 ~x86-fbsd" +IUSE="examples test" + +RDEPEND="dev-lang/lua:* + dev-libs/gobject-introspection + dev-libs/glib + virtual/libffi" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( + x11-libs/cairo[glib] + x11-libs/gtk+[introspection] + ${VIRTUALX_DEPEND} + )" + +src_prepare() { + sed -i \ + -e "s:^LUA_LIBDIR.*$:LUA_LIBDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua):" \ + -e "s:^LUA_SHAREDIR.*$:LUA_SHAREDIR = $($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua):" \ + "${S}"/lgi/Makefile || die "sed failed" +} + +src_compile() { + emake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}" +} + +src_test() { + virtx emake CC="$(tc-getCC)" COPTFLAGS="-Wall -Wextra ${CFLAGS}" LIBFLAG="-shared ${LDFLAGS}" check + assert +} + +src_install() { + emake DESTDIR="${D}" install + dohtml -r docs/* + dodoc README.md + if use examples; then + dodoc -r samples + fi +} diff --git a/dev-lua/lgi/metadata.xml b/dev-lua/lgi/metadata.xml new file mode 100644 index 0000000..8eed566 --- /dev/null +++ b/dev-lua/lgi/metadata.xml @@ -0,0 +1,10 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>robbat2@gentoo.org</email> + </maintainer> + <upstream> + <remote-id type="github">pavouk/lgi</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-lua/luafilesystem/Manifest b/dev-lua/luafilesystem/Manifest new file mode 100644 index 0000000..41ae8dc --- /dev/null +++ b/dev-lua/luafilesystem/Manifest @@ -0,0 +1,7 @@ +DIST luafilesystem-1.5.0.tar.gz 26660 BLAKE2B 555a119c580a14377e0b721929d33f6e15e4b4449c061860d611a12896020959f3755bde44ba29d492e8bd10a084a6dc7cd78ed0ef67c1fad85a7acb49bcf6c2 SHA512 79e767be5b923424c2f3c0025e050b6a5b15550cf96d153072f817b0f94757032feeaa579e4d73cc009a5954d38a30079db1c1c15545a45e9f13c0c776080aac +DIST luafilesystem-1.6.2.tar.gz 27886 BLAKE2B fa13cc529f3ff2b5c5bbf082c5071d066da2da97c066054c9c312366a43e0a2e136bf6eae139abb63e6de916ecca60421cd36bce132393cf0333f9d124027117 SHA512 75debecd3b35d43e76b51de02cface73808547be6a26e15c06c969c50bbfd7c4d0801ccb68812b7ecb99e56eaa63deeadaba6d0387748e215e5bdab784d463ff +DIST luafilesystem-1.6.3.tar.gz 30389 BLAKE2B 412d2893a59ccde2eb8912523bea4d06d4f140dee2f47b5e8e9795d1ca950a4be93a32eb5632775277ab2c2c22a9229c9f33d062e0d1fcd5397178962b96bae9 SHA512 47a2637903c9d42ce3ab7cf3e27b6457845aeed7ce90c0fee964ba9bf9eabf6a6eea940f960713f6b982f1b64167dbd5da8f217281284143c89e3cc5488b8404 +EBUILD luafilesystem-1.5.0.ebuild 791 BLAKE2B 6a7afcc5813045631d933abf2932d123e15c457bb014eff30c8c0a464a3be60ccadea38088d2d491f2bcd69d6d8ef1cadd1c3dc63653237d4634c9a266bc33a5 SHA512 687ca25601f8fe1822576be9c3724ece8562cca30c79c37f01da4378f7faec59731ddf7364ee10a5f4674c9d2c16a6ae440836168dbe77b1c1cbf1f17f220291 +EBUILD luafilesystem-1.6.2.ebuild 768 BLAKE2B 3493601326a2813f4ee4d7678d3bb27e28be66754fa5afc311e06a1d6710cc6df0da558e55d107577f9bbf73600fb43d8afe7a2e461180c2d4791fcd90bbf8a8 SHA512 36bb54693cf2d0dece4a8e704ac43cc18a58b9b9b0e3b2eefec074a1e7be6d34e1069f004afbc1fa806196714f29ffb6ec9eb0f9c054526bd880d31b95333aa1 +EBUILD luafilesystem-1.6.3.ebuild 1147 BLAKE2B 2bad1e87b63a1c8daede9e36281af7d0c0938a7221b2377fa45ea4aea4de2c810b1b18abe9160dc29be24b52c8c5d2efd53f3f55f6270b1fc0809a940d9fd346 SHA512 c4e6d64baf2132fd2de7a44b9fb82b3256ca8f819192a865f49c7e3f8c452766f5eb506b64046be006c9dd45681512880a431f86a8702386ca9f0e8af63eba15 +MISC metadata.xml 526 BLAKE2B 0c439a926e2d4658ac91b70fde013330186edc0978772dd636d88cc332fd536c38ebe26f4d4ccaad0a3397434d699bc55249cf0feb199546681540379a69ee14 SHA512 4625115566950198cede510f5db34531fe6c0ec55d449868f5d99ff524223a5bb0d666197ffdb3bd22c887db26041022956d8cee361e2bb31a2add67c4902a22 diff --git a/dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild b/dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild new file mode 100644 index 0000000..f93c589 --- /dev/null +++ b/dev-lua/luafilesystem/luafilesystem-1.5.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI="5" +inherit multilib toolchain-funcs + +DESCRIPTION="File System Library for the Lua Programming Language" +HOMEPAGE="https://keplerproject.github.com/luafilesystem/" +SRC_URI="mirror://github/keplerproject/luafilesystem/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 arm hppa ~mips ppc ppc64 sparc x86 ~x86-fbsd" +IUSE="" + +DEPEND=">=dev-lang/lua-5.1" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i \ + -e "s|gcc|$(tc-getCC)|" \ + -e "s|/usr/local|/usr|" \ + -e "s|/lib|/$(get_libdir)|" \ + -e "s|-O2|${CFLAGS}|" \ + -e "/^LIB_OPTION/s|= |= ${LDFLAGS} |" \ + config || die +} + +src_install() { + emake PREFIX="${ED}usr" install || die + dodoc README || die + dohtml doc/us/* || die +} diff --git a/dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild b/dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild new file mode 100644 index 0000000..9995175 --- /dev/null +++ b/dev-lua/luafilesystem/luafilesystem-1.6.2.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 +inherit multilib toolchain-funcs + +DESCRIPTION="File System Library for the Lua Programming Language" +HOMEPAGE="https://keplerproject.github.com/luafilesystem/" +SRC_URI="mirror://github/keplerproject/luafilesystem/${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="" + +DEPEND=">=dev-lang/lua-5.1" +RDEPEND="${DEPEND}" + +src_prepare() { + sed -i \ + -e "s|gcc|$(tc-getCC)|" \ + -e "s|/usr/local|/usr|" \ + -e "s|/lib|/$(get_libdir)|" \ + -e "s|-O2|${CFLAGS}|" \ + -e "/^LIB_OPTION/s|= |= ${LDFLAGS} |" \ + config || die +} + +src_install() { + emake PREFIX="${ED}usr" install + dodoc README + dohtml doc/us/* +} diff --git a/dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild b/dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild new file mode 100644 index 0000000..2b0ac49 --- /dev/null +++ b/dev-lua/luafilesystem/luafilesystem-1.6.3.ebuild @@ -0,0 +1,53 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 +inherit toolchain-funcs + +MY_PV=${PV//./_} + +DESCRIPTION="File System Library for the Lua Programming Language" +HOMEPAGE="https://keplerproject.github.io/luafilesystem/" +SRC_URI="https://github.com/keplerproject/luafilesystem/archive/v${MY_PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~arm64 ~hppa ~mips ~ppc ~ppc64 ~x86 ~x86-fbsd" +IUSE="luajit" + +RDEPEND=" + !luajit? ( >=dev-lang/lua-5.1 ) + luajit? ( dev-lang/luajit:2 )" +DEPEND="${RDEPEND} + virtual/pkgconfig" + +HTML_DOCS=( doc/us ) + +S="${WORKDIR}/${PN}-${MY_PV}" + +src_prepare() { + default + + sed -i \ + -e "s|-O2|${CFLAGS}|" \ + -e "/^LIB_OPTION/s|= |= ${LDFLAGS} |" \ + config || die +} + +src_compile() { + emake \ + CC=$(tc-getCC) \ + INCS="-I$($(tc-getPKG_CONFIG) --variable includedir $(usex luajit 'luajit' 'lua'))" +} + +src_test() { + LUA_CPATH=./src/?.so $(usex luajit 'luajit' 'lua') tests/test.lua +} + +src_install() { + emake \ + LUA_LIBDIR="${ED%/}$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))" \ + install + + einstalldocs +} diff --git a/dev-lua/luafilesystem/metadata.xml b/dev-lua/luafilesystem/metadata.xml new file mode 100644 index 0000000..59f1123 --- /dev/null +++ b/dev-lua/luafilesystem/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>rafaelmartins@gentoo.org</email> + </maintainer> + <longdescription lang="en"> + LuaFileSystem is a Lua library developed to complement the set of functions + related to file systems offered by the standard Lua distribution. + + LuaFileSystem offers a portable way to access the underlying directory + structure and file attributes. + </longdescription> +</pkgmetadata> diff --git a/dev-lua/luaposix/Manifest b/dev-lua/luaposix/Manifest new file mode 100644 index 0000000..29297f2 --- /dev/null +++ b/dev-lua/luaposix/Manifest @@ -0,0 +1,3 @@ +DIST luaposix-33.4.0.tar.gz 643523 BLAKE2B e407363eb6410d2636024371a169eefe8d0bc633b9fcbad6c2e7edb413b4aa0fc681e94b35c9ea39a561ecdcf225af1033ded1c67d87cd57bed2ba3e0d795aab SHA512 3cb78ccb343a55e2bf5b182410e2050356379e8f7a86d42a79853db6198628cae85f9984854f99f41505cb7e4fbb5288e4a46633a6db459649837729af76044c +EBUILD luaposix-33.4.0.ebuild 504 BLAKE2B a386c0b35a471baaed4274848ee0f890fb567a4b07ba3f7f0ed1b560443a8cf39a0e5c555a209f21593d010328ee5e2e67fd750e846a16fd440170e47c1f45a8 SHA512 8ea7799d5a73379cfb3b56e3ba78a2409e9dfc1d8228b31649afb301fc49a26504e36d94f2c4df0516bb3b21b49c7555c4e30e3bfc8e21eac0a2bc1561725586 +MISC metadata.xml 326 BLAKE2B 9985432a4cfc1719f956327c3f28d1d77d9461f59c33ec12de0c3899a0b691674f0eb5f3f607668057e115930e134b5a20b8f58915fb4b97bba20bec7d80d38b SHA512 7bfd1897ea30cde9c29058a0f2c13f9cd32a954f01056ff7029e7df57049504dbf3ba692aeb3a2a2777966f53817e2a695c91ae9ae47517b6cc2b6bd60357042 diff --git a/dev-lua/luaposix/luaposix-33.4.0.ebuild b/dev-lua/luaposix/luaposix-33.4.0.ebuild new file mode 100644 index 0000000..cbfa7b3 --- /dev/null +++ b/dev-lua/luaposix/luaposix-33.4.0.ebuild @@ -0,0 +1,18 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +DESCRIPTION="Bindings for POSIX APIs" +HOMEPAGE="https://luaposix.github.io/luaposix/ https://github.com/luaposix/luaposix" +SRC_URI="https://github.com/luaposix/luaposix/archive/release-v${PV}.tar.gz -> ${P}.tar.gz" + +SLOT="0" +LICENSE="public-domain" +KEYWORDS="~amd64 ~x86 ~amd64-linux ~x86-linux" +IUSE="" + +RDEPEND="dev-lang/lua:*" +DEPEND="${RDEPEND}" + +S="${WORKDIR}"/${PN}-release-v${PV} diff --git a/dev-lua/luaposix/metadata.xml b/dev-lua/luaposix/metadata.xml new file mode 100644 index 0000000..686aaf5 --- /dev/null +++ b/dev-lua/luaposix/metadata.xml @@ -0,0 +1,11 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>jlec@gentoo.org</email> + <name>Justin Lecher</name> + </maintainer> + <upstream> + <remote-id type="github">luaposix/luaposix</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-lua/penlight/Manifest b/dev-lua/penlight/Manifest new file mode 100644 index 0000000..eb7bb37 --- /dev/null +++ b/dev-lua/penlight/Manifest @@ -0,0 +1,3 @@ +DIST penlight-1.3.2-core.zip 116854 BLAKE2B c653a51cf8ea286c849e1a2c68968ed767c350b1461dd11d9a2e99c81295461c67044175c7bf99c31e8040118e6cfce85f8613d4b6c49e726d31393029abcbbf SHA512 01ba35e967e255f6f39afff9c2238f4921de9e52850ce0d2ec0c9068029fc61a241c82bede680a28fda46c4504582784fcd2241a2eef0bef95c7c389c4042d02 +EBUILD penlight-1.3.2.ebuild 659 BLAKE2B 4de13b932f381af1ecbfcd54bab0f367b58b818e4f38246db383c2ad345b8b2779e777c812aa031b6264e214661ddb24cd4e7cfc2c548d40cf08f25c44745abe SHA512 e3cda7748fe8e59384e598a570516d0e865c58d67ec9856732c3db2bbe55fd81c4cd4decaf12d175d59e2edf216454dc676fdfaa044bc31396751f1340f33b79 +MISC metadata.xml 523 BLAKE2B c9b7340d34bfa27978dfedde2becbb1ea65d911986be0868c76d16796285be730c073da63cd05e46d7ec58af155a09cd6fe635360324a8e252210eb47e3097a7 SHA512 c4a0a69c82dc2dfe49d9f5145847e952f466fd6254baef24f20cd122137071c5731643202bc7bfbb20934ae955454d077fdd74eb30f9d14f67823eec8b089cbc diff --git a/dev-lua/penlight/metadata.xml b/dev-lua/penlight/metadata.xml new file mode 100644 index 0000000..8fc3b6a --- /dev/null +++ b/dev-lua/penlight/metadata.xml @@ -0,0 +1,14 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>williamh@gentoo.org</email> + <name>William Hubbs</name> + </maintainer> + <longdescription lang="en"> + Penlight is a set of pure Lua libraries for making it easier to work + with common tasks like iterating over directories, reading + configuration files and the like. Provides functional operations + on tables and sequences. + </longdescription> +</pkgmetadata> diff --git a/dev-lua/penlight/penlight-1.3.2.ebuild b/dev-lua/penlight/penlight-1.3.2.ebuild new file mode 100644 index 0000000..9f198c7 --- /dev/null +++ b/dev-lua/penlight/penlight-1.3.2.ebuild @@ -0,0 +1,27 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit toolchain-funcs + +DESCRIPTION="Lua utility libraries loosely based on the Python standard libraries" +HOMEPAGE="http://stevedonovan.github.com/Penlight", +SRC_URI="http://stevedonovan.github.io/files/${PN}-1.3.2-core.zip" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="amd64 ~arm ~ppc ~ppc64 x86" +IUSE="" + +COMMON_DEPEND=">=dev-lang/lua-5.1:=" +DEPEND="${COMMON_DEPEND} +app-arch/unzip + virtual/pkgconfig" +RDEPEND="${COMMON_DEPEND} + dev-lua/luafilesystem" + +src_install() { + insinto "$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD lua)" + doins -r lua/pl +} |