diff options
Diffstat (limited to 'dev-lua/mpack')
-rw-r--r-- | dev-lua/mpack/Manifest | 8 | ||||
-rw-r--r-- | dev-lua/mpack/metadata.xml | 19 | ||||
-rw-r--r-- | dev-lua/mpack/mpack-1.0.2.ebuild | 35 | ||||
-rw-r--r-- | dev-lua/mpack/mpack-1.0.3.ebuild | 42 | ||||
-rw-r--r-- | dev-lua/mpack/mpack-1.0.4.ebuild | 42 |
5 files changed, 146 insertions, 0 deletions
diff --git a/dev-lua/mpack/Manifest b/dev-lua/mpack/Manifest new file mode 100644 index 000000000000..f6b9b4f08382 --- /dev/null +++ b/dev-lua/mpack/Manifest @@ -0,0 +1,8 @@ +DIST mpack-1.0.2.tar.gz 44671 SHA256 9c570b2aab81b0c56d97cbd8fc483dc431b69510fd9becb4a1845291563e8bc9 SHA512 307ae26799e59224dd624d1f5473c86d5cf975155c58b7ccfd17be98321afb0f7235d06a7a2c50112d4630b3cc7c185c9b307007be5cdbd792819ec2991fa3d2 WHIRLPOOL b5461701898d3e8ab72c92f8d75c4b098986821a3cba281e82a15e495ee4ac2a9efddbd61c542dc3f3cb0cb45f18362652b102dfa8bae690d6c8f4b1b3261911 +DIST mpack-1.0.3.tar.gz 45720 SHA256 65eb21cfa9313204ac5296e3b305d752b8422c724b6375caecc6385f0a6d6e22 SHA512 3024d2830d83a7572a648ee6074467e2096dc6af7c92aaf3c6531e4c25c1c57d9853a60f5b2d1f50039ceeb80bae83f8fdc7241fa48f789cb636bba32fc2a9ba WHIRLPOOL 7b79463f4912eba45e65a2bf24ef0dd7787f781333a3bd559e46999277abf96995cef3ac5d3f14e176f89a61062cb0049d4c6f3e93d6d5a6ddf1fc1a09c5a7f0 +DIST mpack-1.0.4.tar.gz 46382 SHA256 0a5d69f3966b31d14faddbd81db53b543fb092c711250ecb0aa5e22d060aa080 SHA512 8e40a562faf8b62137dec0733cbb9006fa7054e5a47bdd128fb4dfd676fac4e4385a23c3d908a4ce2edd65d673db25916695fa74bc08c5316b0c80e571a7442c WHIRLPOOL bd538133a3b5f3723ad8c2c2193821971c0a0d7f4959265309c694db3b0cded7e350fde58b3fe90fd57564e7c9de9ca9f0efc495faec3af12ebba463dffd3e3f +EBUILD mpack-1.0.2.ebuild 891 SHA256 b758bb2cae89d99b89b8faca9f7e1cfd38f5ca856e8d3168591ceb3b36d1955c SHA512 89ee3dc5a45102fcb63a1da09f48cdf5d168852ab99a5247da2c77f0d43fff688c988dd6f0f2925466ee8a09655f52baa86edafd0283c30526159b2dcfddb5c9 WHIRLPOOL f943a9e7fc1942adfa70f7d9e535e993cd73063b4e163ac39fdf8f195d5a8f5e45a616ee7d2209e5dab70d0e968c8b6ad8ba5ad5ffb37bdcfa81f0122b0c3373 +EBUILD mpack-1.0.3.ebuild 1012 SHA256 91323efc0bd7ede9a353d0dfea54ad2e3cd950231a66452fb6bc098ecc5f6cd3 SHA512 d641a42577a6bc88902a23a111a31571e671df36b65987ad04a15af83a8b569d167eb61e808bcd0b749b39ba678e9b772ca6be991c12d6925c9ece40c3bfa5ed WHIRLPOOL c7c8aca75750e49e650f0028373a6f874e38cd16460df09d00608ef54098b78fc37f69b09bf0dbebbb8171328666d3103f76cd490404b63db545019b2b8df850 +EBUILD mpack-1.0.4.ebuild 1017 SHA256 4429558de2c991cad2a45ba01bc1cf5b3c45c56767885491e7f21056cdab07dd SHA512 702d0b1b2ef739c183cdfaa80cdf5c30818bd8a371e6f23be381777612f1051fccccda682e7e7d4c4dac195f6421863aaa6943e5005f69187dcba62d06342cdc WHIRLPOOL 21693798fef52ace1871403202f371b603ee6010062d2d4e941c51538b26109e4a831b39fba5c6a9b15097b85b39ac0ca9385a78f271e3f0bbb59a37c33e8dab +MISC ChangeLog 595 SHA256 39e925192bbe9ab51bfb608c7dfbcefe608c9dd1fc2c0b6f7faa50927dbde3f9 SHA512 9f0426bcc46c38aa3bd58fe5bfb821847a4357297dc9d9914337dfe0f1e9f3311bf2713ff72e961ca5b3dcd65f67779bb1c97ca5176153a65ad735bc4ef59add WHIRLPOOL 6161570e57e8d320e4fcde90e56a4dee8577dc78e8c88b8c7c7718a6993f9c0c7309a1b157e837995401b61acf48d2948512068f1d9ae786b73ded208deebcef +MISC metadata.xml 556 SHA256 0bcc1782217494ea4b935aa5ed39fb968b704fff94bef09e23801bf0c9f9b938 SHA512 b45378cb9a883edf95ef2a8bda32f914d6bd4833669aab1493f88a94e94f4cddfe1087e23f518ee134b4f6c17b517d1c72e93534ba29bcc39d2255bb1d5db7cf WHIRLPOOL 08b6b47a3141b846009b3ddf7902e7aa76f67a1fc353bd8acb3ad5935ffdd57325d18a3c91b59da050e3177e7619c763df09d219ffc15c7c68dd90da14f1f42a diff --git a/dev-lua/mpack/metadata.xml b/dev-lua/mpack/metadata.xml new file mode 100644 index 000000000000..3fbadc712f7a --- /dev/null +++ b/dev-lua/mpack/metadata.xml @@ -0,0 +1,19 @@ +<?xml version='1.0' encoding='UTF-8'?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="person"> + <email>lluixhi@gmail.com</email> + <name>Aric Belsito</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <use> + <flag name="luajit">Use <pkg>dev-lang/luajit</pkg> instead of + <pkg>dev-lang/lua</pkg></flag> + </use> + <upstream> + <remote-id type="github">tarruda/libmpack</remote-id> + </upstream> +</pkgmetadata> diff --git a/dev-lua/mpack/mpack-1.0.2.ebuild b/dev-lua/mpack/mpack-1.0.2.ebuild new file mode 100644 index 000000000000..40bf46a7e6a7 --- /dev/null +++ b/dev-lua/mpack/mpack-1.0.2.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Lua bindings for libmpack" +HOMEPAGE="https://github.com/tarruda/libmpack/" +SRC_URI="https://github.com/tarruda/libmpack/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/libmpack-${PV}/binding/lua" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="luajit test" + +RDEPEND="!luajit? ( >=dev-lang/lua-5.1:= ) + luajit? ( dev-lang/luajit:2= )" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( dev-lua/busted )" + +src_compile() { + $(tc-getCC) ${CFLAGS} ${LDFLAGS} $($(tc-getPKG_CONFIG) --cflags $(usex luajit 'luajit' 'lua')) -fPIC -DPIC -shared lmpack.c -o mpack.so || die +} + +src_test() { + busted -o gtest test.lua || die +} + +src_install() { + exeinto "$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))" + doexe mpack.so +} diff --git a/dev-lua/mpack/mpack-1.0.3.ebuild b/dev-lua/mpack/mpack-1.0.3.ebuild new file mode 100644 index 000000000000..8c3b450c3021 --- /dev/null +++ b/dev-lua/mpack/mpack-1.0.3.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2016 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Lua bindings for libmpack" +HOMEPAGE="https://github.com/tarruda/libmpack/" +SRC_URI="https://github.com/tarruda/libmpack/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/libmpack-${PV}/binding/lua" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="luajit test" + +RDEPEND="!luajit? ( >=dev-lang/lua-5.1:= ) + luajit? ( dev-lang/luajit:2= )" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( dev-lua/busted )" + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + USE_SYSTEM_LUA=yes \ + LUA_INCLUDE="$($(tc-getPKG_CONFIG) --cflags $(usex luajit 'luajit' 'lua'))" \ + LUA_LIB="$($(tc-getPKG_CONFIG) --libs $(usex luajit 'luajit' 'lua'))" +} + +src_test() { + busted -o gtest test.lua || die +} + +src_install() { + emake \ + DESTDIR="${D}" \ + USE_SYSTEM_LUA=yes \ + LUA_CMOD_INSTALLDIR="$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))" \ + install +} diff --git a/dev-lua/mpack/mpack-1.0.4.ebuild b/dev-lua/mpack/mpack-1.0.4.ebuild new file mode 100644 index 000000000000..8665ccc4f901 --- /dev/null +++ b/dev-lua/mpack/mpack-1.0.4.ebuild @@ -0,0 +1,42 @@ +# Copyright 1999-2017 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit toolchain-funcs + +DESCRIPTION="Lua bindings for libmpack" +HOMEPAGE="https://github.com/tarruda/libmpack/" +SRC_URI="https://github.com/tarruda/libmpack/archive/${PV}.tar.gz -> ${P}.tar.gz" +S="${WORKDIR}/libmpack-${PV}/binding/lua" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="luajit test" + +RDEPEND="!luajit? ( >=dev-lang/lua-5.1:= ) + luajit? ( dev-lang/luajit:2= )" +DEPEND="${RDEPEND} + virtual/pkgconfig + test? ( dev-lua/busted )" + +src_compile() { + emake \ + CC="$(tc-getCC)" \ + USE_SYSTEM_LUA=yes \ + LUA_INCLUDE="$($(tc-getPKG_CONFIG) --cflags $(usex luajit 'luajit' 'lua'))" \ + LUA_LIB="$($(tc-getPKG_CONFIG) --libs $(usex luajit 'luajit' 'lua'))" +} + +src_test() { + busted -o gtest test.lua || die +} + +src_install() { + emake \ + DESTDIR="${D}" \ + USE_SYSTEM_LUA=yes \ + LUA_CMOD_INSTALLDIR="$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))" \ + install +} |