diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2017-10-09 18:53:29 +0100 |
commit | 4f2d7949f03e1c198bc888f2d05f421d35c57e21 (patch) | |
tree | ba5f07bf3f9d22d82e54a462313f5d244036c768 /dev-lua/luacov |
reinit the tree, so we can have metadata
Diffstat (limited to 'dev-lua/luacov')
-rw-r--r-- | dev-lua/luacov/Manifest | 5 | ||||
-rw-r--r-- | dev-lua/luacov/files/luacov-0.8-fix-makefile.patch | 25 | ||||
-rw-r--r-- | dev-lua/luacov/luacov-0.8.ebuild | 36 | ||||
-rw-r--r-- | dev-lua/luacov/metadata.xml | 14 |
4 files changed, 80 insertions, 0 deletions
diff --git a/dev-lua/luacov/Manifest b/dev-lua/luacov/Manifest new file mode 100644 index 000000000000..fcfe86b2e1eb --- /dev/null +++ b/dev-lua/luacov/Manifest @@ -0,0 +1,5 @@ +AUX luacov-0.8-fix-makefile.patch 681 SHA256 136778bc085eb0d16e849b9d05a9bf53454de68be9a54cdfc55a738109e9aefb SHA512 603ac926108e30d511ac0fba66576fbbf7b98b468bed1a0026addf6f0361b38e41b9d967f983b3a8147b853055538e2ec2f87efc896542e87b73073bc0a881ba WHIRLPOOL 313e23d195de54da67c0a26376ca03b8a68cf8c6f15ba5fe06187c45388fa515dfd8d7673e43dced41d56923d80a52989d930d7874ccf15c38a379d06f7b7302 +DIST luacov-0.8.tar.gz 33613 SHA256 fa4497c2345e3c679ea7fca5dd725efd6d467e051f4dbc5c76c7f7303b99f584 SHA512 03d6ee519a570ff0430bcc32f547b9beb01691bd8c7ad8655e78d732223c6c25e4a63d816fd99640568251b836d5e3cc736bd5d780f5ecd3986d855ed5edfa11 WHIRLPOOL e309c80bec56445446f0ddd512b8ccc05c4982cccb0858fa1ed6f8db06f00098317c8281d6c357188cd36bfbd11d4147b1a4b33a9f361065a7ba23fa9e1df30b +EBUILD luacov-0.8.ebuild 747 SHA256 e3d916d35b0f5dd5a2e094ff4beaabee574678fd0dfa8b03d1811ec7582402c9 SHA512 e81255d4b67320c740e3365d06d2bd5e4f3325f01a294f65b6dcfc3af4ec07a8538870729f612178239659904566e2274995ee8fe613db57c3353f7ac81711e5 WHIRLPOOL f795e1707109b4b42cf3b24989d5757c946546b399cb097cd22fe68f19dff3a901773ff6e7c281dc76fa8d67cdab4fce8f33745cccb4b77d83b418778b98c435 +MISC ChangeLog 1085 SHA256 85f49830210d48cf4ed05df9115a1c8baec3f21a6687e82141d55ab06600d7c5 SHA512 4e0b5cd32827a44d567d0e35b76a0b9b5e7db5febc4e045a6e3fd325cb77ef2c67c02e5163fd09a14f7410707e4b42ad0109f15e6dfbcb334eea8ac67b318505 WHIRLPOOL d5bc7e6f7f4db5c9e0580094fdf85f901d7540edef69f5de45fa5cf96973c12293024b13f87fef8085c58aa447e94f9d5a854fdf87995fcbfe3dd55b03419948 +MISC metadata.xml 431 SHA256 9a521e1dd2416d657a1cbe30cd989320549b9210075d4bba2bcb1d56586439fb SHA512 bdb26053ef182f212c11e219f5e29b6ad19494615e2553c26affdcf74861966ddd4583edffe27e5e39ce7e4f822e7b0747bcf3f2c469353f05d3fb22aa453c76 WHIRLPOOL f75a0e2ac5e5e8e9bfe476d1b6e87a80a7a5c4eba360c3e8bc337a36ea8d098a2bd5202f4888316e980c22e74bac65d54db03024f8538ba145b7ed3b3a3e0053 diff --git a/dev-lua/luacov/files/luacov-0.8-fix-makefile.patch b/dev-lua/luacov/files/luacov-0.8-fix-makefile.patch new file mode 100644 index 000000000000..7a4ea6ba9ea7 --- /dev/null +++ b/dev-lua/luacov/files/luacov-0.8-fix-makefile.patch @@ -0,0 +1,25 @@ +diff --git a/Makefile b/Makefile +index 477f9de..adad2cc 100644 +--- a/Makefile ++++ b/Makefile +@@ -6,13 +6,13 @@ BINDIR=$(PREFIX)/bin + LUADIR=$(PREFIX)/share/lua/5.1/ + + install: +- mkdir -p $(BINDIR) +- cp src/bin/luacov $(BINDIR) +- chmod +x $(BINDIR)/luacov +- mkdir -p $(LUADIR) +- cp src/luacov.lua $(LUADIR) +- mkdir -p $(LUADIR)/luacov +- cp src/luacov/*.lua $(LUADIR)/luacov ++ mkdir -p $(DESTDIR)$(BINDIR) ++ cp src/bin/luacov $(DESTDIR)$(BINDIR) ++ chmod +x $(DESTDIR)$(BINDIR)/luacov ++ mkdir -p $(DESTDIR)$(LUADIR) ++ cp src/luacov.lua $(DESTDIR)$(LUADIR) ++ mkdir -p $(DESTDIR)$(LUADIR)/luacov ++ cp src/luacov/*.lua $(DESTDIR)$(LUADIR)/luacov + + dist: + rm -rf $(PACKAGE)-$(VERSION) diff --git a/dev-lua/luacov/luacov-0.8.ebuild b/dev-lua/luacov/luacov-0.8.ebuild new file mode 100644 index 000000000000..280c33a87c1f --- /dev/null +++ b/dev-lua/luacov/luacov-0.8.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2015 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=5 + +inherit eutils + +DESCRIPTION="LuaCov is a simple coverage analyzer for Lua scripts" +HOMEPAGE="https://github.com/keplerproject/luacov" +SRC_URI="https://github.com/keplerproject/luacov/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} +virtual/pkgconfig" +RDEPEND="${COMMON_DEPEND}" + +src_prepare() { + epatch "${FILESDIR}"/${PF}-fix-makefile.patch +} + +src_compile() { + return 0 +} + +src_install() { + emake DESTDIR="${ED}" \ + PREFIX=/usr \ + LUADIR="$(pkg-config --variable INSTALL_LMOD lua)" install +dohtml -r doc/* + dodoc -r examples +} diff --git a/dev-lua/luacov/metadata.xml b/dev-lua/luacov/metadata.xml new file mode 100644 index 000000000000..e9f9224d483a --- /dev/null +++ b/dev-lua/luacov/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"> + LuaCov is a coverage analyzer for Lua scripts. + </longdescription> + <upstream> + <remote-id type="github">keplerproject/luacov</remote-id> + </upstream> +</pkgmetadata> |