diff options
author | William Hubbs <williamh@gentoo.org> | 2015-07-24 23:59:32 +0000 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2015-07-24 23:59:32 +0000 |
commit | cbccb92dcbe2573bd22ed7d8f5679c829319fdb4 (patch) | |
tree | d9e603f03e1269db8e121cb6308eda67d18b8d36 /dev-lua | |
parent | Auto stabilization as per policy. Remove old. (diff) | |
download | gentoo-2-cbccb92dcbe2573bd22ed7d8f5679c829319fdb4.tar.gz gentoo-2-cbccb92dcbe2573bd22ed7d8f5679c829319fdb4.tar.bz2 gentoo-2-cbccb92dcbe2573bd22ed7d8f5679c829319fdb4.zip |
initial commit
(Portage version: 2.2.20/cvs/Linux x86_64, signed Manifest commit with key 0x30C46538)
Diffstat (limited to 'dev-lua')
-rw-r--r-- | dev-lua/lanes/ChangeLog | 10 | ||||
-rw-r--r-- | dev-lua/lanes/files/lanes-3.10.0-fix-makefile.patch | 28 | ||||
-rw-r--r-- | dev-lua/lanes/lanes-3.10.0.ebuild | 33 | ||||
-rw-r--r-- | dev-lua/lanes/metadata.xml | 11 |
4 files changed, 82 insertions, 0 deletions
diff --git a/dev-lua/lanes/ChangeLog b/dev-lua/lanes/ChangeLog new file mode 100644 index 000000000000..f06702ef8247 --- /dev/null +++ b/dev-lua/lanes/ChangeLog @@ -0,0 +1,10 @@ +# ChangeLog for dev-lua/lanes +# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lua/lanes/ChangeLog,v 1.1 2015/07/24 23:59:32 williamh Exp $ + +*lanes-3.10.0 (24 Jul 2015) + + 24 Jul 2015; William Hubbs <williamh@gentoo.org> +lanes-3.10.0.ebuild, + +files/lanes-3.10.0-fix-makefile.patch, +metadata.xml: + Initial commit + diff --git a/dev-lua/lanes/files/lanes-3.10.0-fix-makefile.patch b/dev-lua/lanes/files/lanes-3.10.0-fix-makefile.patch new file mode 100644 index 000000000000..52549704248e --- /dev/null +++ b/dev-lua/lanes/files/lanes-3.10.0-fix-makefile.patch @@ -0,0 +1,28 @@ +diff --git a/Makefile b/Makefile +index fc44fac..6c87e89 100644 +--- a/Makefile ++++ b/Makefile +@@ -202,17 +202,17 @@ _perftest: + # + # LUA_LIBDIR and LUA_SHAREDIR are used by the .rockspec (don't change the names!) + # +-DESTDIR=/usr/local +-LUA_LIBDIR=$(DESTDIR)/lib/lua/5.1 +-LUA_SHAREDIR=$(DESTDIR)/share/lua/5.1 ++PREFIX=/usr/local ++LUA_LIBDIR=$(PREFIX)/lib/lua/5.1 ++LUA_SHAREDIR=$(PREFIX)/share/lua/5.1 + + # + # AKa 17-Oct: changed to use 'install -m 644' and 'cp -p' + # + install: $(_TARGET_SO) src/lanes.lua +- mkdir -p $(LUA_LIBDIR) $(LUA_LIBDIR)/lanes $(LUA_SHAREDIR) +- install -m 644 $(_TARGET_SO) $(LUA_LIBDIR)/lanes +- cp -p src/lanes.lua $(LUA_SHAREDIR) ++ mkdir -p $(DESTDIR)$(LUA_LIBDIR)/lanes $(DESTDIR)$(LUA_SHAREDIR) ++ install -m 644 $(_TARGET_SO) $(DESTDIR)$(LUA_LIBDIR)/lanes ++ cp -p src/lanes.lua $(DESTDIR)$(LUA_SHAREDIR) + + + #--- Packaging --- diff --git a/dev-lua/lanes/lanes-3.10.0.ebuild b/dev-lua/lanes/lanes-3.10.0.ebuild new file mode 100644 index 000000000000..155775a601de --- /dev/null +++ b/dev-lua/lanes/lanes-3.10.0.ebuild @@ -0,0 +1,33 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/dev-lua/lanes/lanes-3.10.0.ebuild,v 1.1 2015/07/24 23:59:32 williamh Exp $ + +EAPI=5 + +inherit eutils multilib toolchain-funcs + +DESCRIPTION="lightweight, native, lazy evaluating multithreading library" +HOMEPAGE="https://github.com/LuaLanes/lanes" +SRC_URI="http://github.com/LuaLanes/lanes/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="MIT" +SLOT="0" +KEYWORDS="~amd64" +IUSE="" + +COMMON_DEPEND=">=dev-lang/lua-5.1" +DEPEND="${COMMON_DEPEND}" +RDEPEND="${COMMON_DEPEND}" + +src_prepare() { + tc-export CC + epatch "${FILESDIR}"/${P}-fix-makefile.patch + sed -i -e "s#/lib#/$(get_libdir)#" Makefile || die "sed failed" +} + +src_install() { + emake DESTDIR="${D}" PREFIX=/usr install + dodoc ABOUT BUGS CHANGES README TODO +dohtml -r docs/* + die "in install phase" +} diff --git a/dev-lua/lanes/metadata.xml b/dev-lua/lanes/metadata.xml new file mode 100644 index 000000000000..5932c690f56d --- /dev/null +++ b/dev-lua/lanes/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> + <email>williamh@gentoo.org</email> + <name>William Hubbs</name> + </maintainer> + <longdescription lang="en"> + lightweight, native, lazy evaluating multithreading library for Lua-5.1 or 5.2. + </longdescription> +</pkgmetadata> |