summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBen de Groot <yngwin@gentoo.org>2014-12-14 19:28:20 +0800
committerBen de Groot <yngwin@gentoo.org>2014-12-14 19:28:20 +0800
commit06806d106a212c258cb02036a3af2f40b05a1b59 (patch)
tree454c059c8c49f944bc045c639554c2324caedb74
parentRemove libuv (updated in gx86) (diff)
downloadyngwin-06806d106a212c258cb02036a3af2f40b05a1b59.tar.gz
yngwin-06806d106a212c258cb02036a3af2f40b05a1b59.tar.bz2
yngwin-06806d106a212c258cb02036a3af2f40b05a1b59.zip
cmsgpack version bump and live git ebuilds
-rw-r--r--dev-lua/cmsgpack/Manifest2
-rw-r--r--dev-lua/cmsgpack/cmsgpack-0.3.0.ebuild46
-rw-r--r--dev-lua/cmsgpack/cmsgpack-0.4.0.ebuild47
-rw-r--r--dev-lua/cmsgpack/cmsgpack-9999.ebuild46
4 files changed, 141 insertions, 0 deletions
diff --git a/dev-lua/cmsgpack/Manifest b/dev-lua/cmsgpack/Manifest
new file mode 100644
index 0000000..c130362
--- /dev/null
+++ b/dev-lua/cmsgpack/Manifest
@@ -0,0 +1,2 @@
+DIST cmsgpack-0.3.0.tar.gz 8931 SHA256 d0e819ddd67c317eae3506ae384b27d179aea1fb531cd06eb369636adfd6167a SHA512 0bae955df022d2f3998e6f84470ab9a8605f38c61bbdbe12e07bfe1aebb3e57b4671a960ded52ee642de60bab2e176863a7a92a17d7660c64d50c8a7363866e4 WHIRLPOOL cdb64970693aebd3ed875ab49e6c27ec5070c1469e927ca443483738c1974b6362c82e83f0c99e9e25e3f854a0ffa96e04a08ae4f23e1e5c8d3422e32033f0d4
+DIST cmsgpack-0.4.0.tar.xz 15244 SHA256 92aa17a4881d32fce95484027446938bff94ee37efb4947bf9eb34858a04a8d1 SHA512 9f3e1f33150eee87c4be2fae23b1f892618dea8d013558e4c58f0ee899116236ac3fdd17199d6f7c170a461aee0346a78eba1c33eb1d28fcaae2cefbde28ef2d WHIRLPOOL 634a26e99e10c5ffc60f1b1a759cbae38d6fd90eb04e0e58f7d05f9c00f4fb97612910a8509e8c36cfc8b2b09f7b675eb4218e53b63dcb33ad717904c516a377
diff --git a/dev-lua/cmsgpack/cmsgpack-0.3.0.ebuild b/dev-lua/cmsgpack/cmsgpack-0.3.0.ebuild
new file mode 100644
index 0000000..c578493
--- /dev/null
+++ b/dev-lua/cmsgpack/cmsgpack-0.3.0.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="A self contained Lua MessagePack C implementation"
+HOMEPAGE="https://github.com/antirez/lua-cmsgpack"
+MY_PN="lua_${PN}"
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="test"
+
+RDEPEND=">=dev-lang/lua-5.1"
+DEPEND="${RDEPEND}
+ dev-libs/msgpack"
+
+if [ "${PV}" = "9999" ]; then
+ EGIT_REPO_URI="git://github.com/antirez/lua-cmsgpack.git"
+ inherit git-r3
+ KEYWORDS=""
+ DOCS=( README.md )
+else
+ SRC_URI="https://github.com/antirez/lua-${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ inherit vcs-snapshot
+ KEYWORDS="~amd64"
+ DOCS=( README )
+
+fi
+
+src_compile() {
+ $(tc-getCC) -fPIC ${CFLAGS} -c -o ${MY_PN}.o ${MY_PN}.c || die
+ $(tc-getCC) ${LDFLAGS} -shared -o ${PN}.so ${MY_PN}.o || die
+}
+
+src_test() {
+ lua test.lua || die
+}
+
+src_install() {
+ default
+ insinto $($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)
+ doins ${PN}.so
+}
diff --git a/dev-lua/cmsgpack/cmsgpack-0.4.0.ebuild b/dev-lua/cmsgpack/cmsgpack-0.4.0.ebuild
new file mode 100644
index 0000000..ca568c9
--- /dev/null
+++ b/dev-lua/cmsgpack/cmsgpack-0.4.0.ebuild
@@ -0,0 +1,47 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="A self contained Lua MessagePack C implementation"
+HOMEPAGE="https://github.com/antirez/lua-cmsgpack"
+MY_PN="lua_${PN}"
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="test"
+
+RDEPEND=">=dev-lang/lua-5.1"
+DEPEND="${RDEPEND}
+ dev-libs/msgpack"
+
+if [ "${PV}" = "9999" ]; then
+ EGIT_REPO_URI="git://github.com/antirez/lua-cmsgpack.git"
+ inherit git-r3
+ KEYWORDS=""
+ DOCS=( README.md )
+else
+# SRC_URI="https://github.com/antirez/lua-${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+# inherit vcs-snapshot
+ SRC_URI="http://dev.gentoo.org/~yngwin/distfiles/${P}.tar.xz"
+ KEYWORDS="~amd64"
+ DOCS=( README.md )
+
+fi
+
+src_compile() {
+ $(tc-getCC) -fPIC ${CFLAGS} -c -o ${MY_PN}.o ${MY_PN}.c || die
+ $(tc-getCC) ${LDFLAGS} -shared -o ${PN}.so ${MY_PN}.o || die
+}
+
+src_test() {
+ lua test.lua || die
+}
+
+src_install() {
+ default
+ insinto $($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)
+ doins ${PN}.so
+}
diff --git a/dev-lua/cmsgpack/cmsgpack-9999.ebuild b/dev-lua/cmsgpack/cmsgpack-9999.ebuild
new file mode 100644
index 0000000..c578493
--- /dev/null
+++ b/dev-lua/cmsgpack/cmsgpack-9999.ebuild
@@ -0,0 +1,46 @@
+# Copyright 1999-2014 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: $
+
+EAPI=5
+inherit toolchain-funcs
+
+DESCRIPTION="A self contained Lua MessagePack C implementation"
+HOMEPAGE="https://github.com/antirez/lua-cmsgpack"
+MY_PN="lua_${PN}"
+
+LICENSE="BSD-2"
+SLOT="0"
+IUSE="test"
+
+RDEPEND=">=dev-lang/lua-5.1"
+DEPEND="${RDEPEND}
+ dev-libs/msgpack"
+
+if [ "${PV}" = "9999" ]; then
+ EGIT_REPO_URI="git://github.com/antirez/lua-cmsgpack.git"
+ inherit git-r3
+ KEYWORDS=""
+ DOCS=( README.md )
+else
+ SRC_URI="https://github.com/antirez/lua-${PN}/archive/${PV}.tar.gz -> ${P}.tar.gz"
+ inherit vcs-snapshot
+ KEYWORDS="~amd64"
+ DOCS=( README )
+
+fi
+
+src_compile() {
+ $(tc-getCC) -fPIC ${CFLAGS} -c -o ${MY_PN}.o ${MY_PN}.c || die
+ $(tc-getCC) ${LDFLAGS} -shared -o ${PN}.so ${MY_PN}.o || die
+}
+
+src_test() {
+ lua test.lua || die
+}
+
+src_install() {
+ default
+ insinto $($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)
+ doins ${PN}.so
+}