aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJustin Lecher <jlec@gentoo.org>2015-02-18 11:56:33 +0100
committerJustin Lecher <jlec@gentoo.org>2015-02-18 12:35:20 +0100
commit41391a73fabb8c94c65bc66306f6d09a138dc144 (patch)
tree3c74a6be72ceaa49a3b078673798c681b9cf3b05 /dev-lua
parentdev-lang/path64: fix SLOT operators (diff)
downloadsci-41391a73fabb8c94c65bc66306f6d09a138dc144.tar.gz
sci-41391a73fabb8c94c65bc66306f6d09a138dc144.tar.bz2
sci-41391a73fabb8c94c65bc66306f6d09a138dc144.zip
dev-lua/cmsgpack: fix SLOT operators; use symlink
Package-Manager: portage-2.2.17 Signed-off-by: Justin Lecher <jlec@gentoo.org>
Diffstat (limited to 'dev-lua')
-rw-r--r--dev-lua/cmsgpack/ChangeLog5
l---------[-rw-r--r--]dev-lua/cmsgpack/cmsgpack-0.3.0.ebuild49
-rw-r--r--dev-lua/cmsgpack/cmsgpack-9999.ebuild30
3 files changed, 20 insertions, 64 deletions
diff --git a/dev-lua/cmsgpack/ChangeLog b/dev-lua/cmsgpack/ChangeLog
index bb4420790..9c0a79df6 100644
--- a/dev-lua/cmsgpack/ChangeLog
+++ b/dev-lua/cmsgpack/ChangeLog
@@ -1,7 +1,10 @@
# ChangeLog for dev-lua/cmsgpack
-# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
# $Header: $
+ 18 Feb 2015; Justin Lecher <jlec@gentoo.org> cmsgpack-9999.ebuild:
+ dev-lua/cmsgpack: fix SLOT operators; use symlink
+
*cmsgpack-0.3.0 (10 May 2014)
*cmsgpack-9999 (10 May 2014)
diff --git a/dev-lua/cmsgpack/cmsgpack-0.3.0.ebuild b/dev-lua/cmsgpack/cmsgpack-0.3.0.ebuild
index 1ba7e650e..8509204ab 100644..120000
--- a/dev-lua/cmsgpack/cmsgpack-0.3.0.ebuild
+++ b/dev-lua/cmsgpack/cmsgpack-0.3.0.ebuild
@@ -1,48 +1 @@
-# 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
-}
+cmsgpack-9999.ebuild \ No newline at end of file
diff --git a/dev-lua/cmsgpack/cmsgpack-9999.ebuild b/dev-lua/cmsgpack/cmsgpack-9999.ebuild
index 1ba7e650e..0d47408d8 100644
--- a/dev-lua/cmsgpack/cmsgpack-9999.ebuild
+++ b/dev-lua/cmsgpack/cmsgpack-9999.ebuild
@@ -1,9 +1,22 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: $
EAPI=5
+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
+
inherit toolchain-funcs
DESCRIPTION="A self contained Lua MessagePack C implementation"
@@ -15,23 +28,10 @@ LICENSE="BSD-2"
SLOT="0"
IUSE="test"
-RDEPEND=">=dev-lang/lua-5.1"
+RDEPEND=">=dev-lang/lua-5.1:0"
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