dev-lua/lpeg: clean up old.

Package-Manager: Portage-2.3.13, Repoman-2.3.3
This commit is contained in:
Patrice Clement
2018-01-05 11:56:54 +01:00
parent c143c16de3
commit 9ca0bb806c
7 changed files with 0 additions and 258 deletions

View File

@@ -1,5 +1 @@
DIST lpeg-0.12.1.tar.gz 67519 BLAKE2B dc5ae88c04194ac650151fab1c645322b0405551df5432842b8e6d5a0cab9c8388e3d22c1cdde365d127d18149c9551dc1c04480a40fb72cdb1bb78f56d1f710 SHA512 8cd47e169ce97c2eb40b865b0ef975b7a8fc58de1bde504518d9396b2a12efd92e7b2cfa1ccca59dd6a0cc22444fd1915a09e0d17fe78ba2a59bc3748546f60c
DIST lpeg-0.12.2.tar.gz 68122 BLAKE2B 96b7c535b390d81f867028643885453a8490f4c4a3ea65dd20e4358a13a1fe30ea2fcd188e64a4b0af03c69538d9c13fd46047644c749f77fa5b990f087c0076 SHA512 81505674473d83e2c777d470cd6ba4eead48ecc32e58e52bc192ca7a167f882e722c5a0cae62937fb3f5f71d6216de1ba4ea3d932e72265028f293d778df5e9e
DIST lpeg-0.12.tar.gz 66649 BLAKE2B fca37f9bf399967c1e8f229649daebf2292d50e628a9dbb12fda6338beb19de0efc27bec5a81df7cfb72f8eb49057c940eeda04f0c32a964abbb85ef7d8b07cf SHA512 bf8c4fe486f5e965b793d8526dd1fc5c8905c4b065a1abe52ec8e41ebbe48292315a7460dc56fb7a029b4673057f9da7e53854bb79bb54dd8a4378391efc24a2
DIST lpeg-1.0.0.tar.gz 70267 BLAKE2B a48f8e4e56465f030b58f4b2d9c38735cec68ab2011e806b541df13eaac2e2ae42f4938cb36003519cd22baefbd9d2c329888ee7f0224e30b6461a35b1ce197a SHA512 a245d2e0b8604121d8b4466052ab5da4f2b1f81c1c4b2579d8d5498920fc351d46fe4159a0b5948d1b377ef9bda410c4bf40ffd228b9f26bf346dfba2a7b9fb7
DIST lpeg-1.0.1.tar.gz 71527 BLAKE2B 5f19d308572f2d7a5ff11d7aa33f437ec682994d0a396a322764cf12a4cb659c66ce6ffaf0c76f6a250a7d767b6545478dd3bb760150b9f88be41fac9dafde0d SHA512 7b43fbee7eff443000986684bc56bba6d2796a31cf860740746c70e155bdea1b62a46b93f97e2747e3ef0f63e965148778ac2985d0f2d83e1e37ec4ebbabf4aa

View File

@@ -1,37 +0,0 @@
--- lpeg-0.12/makefile
+++ lpeg-0.12/makefile
@@ -1,7 +1,7 @@
LIBNAME = lpeg
LUADIR = /usr/include/lua5.1/
-COPT = -O2
+#COPT = -O2
# COPT = -DLPEG_DEBUG -g
CWARNS = -Wall -Wextra -pedantic \
@@ -22,21 +22,21 @@
# -Wunreachable-code \
-CFLAGS = $(CWARNS) $(COPT) -ansi -I$(LUADIR) -fPIC
+CFLAGS += $(CWARNS) $(COPT) -ansi -I$(LUADIR) -fPIC
CC = gcc
FILES = lpvm.o lpcap.o lptree.o lpcode.o lpprint.o
# For Linux
linux:
- make lpeg.so "DLLFLAGS = -shared -fPIC"
+ $(MAKE) lpeg.so "DLLFLAGS = -shared -fPIC"
# For Mac OS
macosx:
- make lpeg.so "DLLFLAGS = -bundle -undefined dynamic_lookup"
+ $(MAKE) lpeg.so "DLLFLAGS = -bundle -undefined dynamic_lookup"
lpeg.so: $(FILES)
- env $(CC) $(DLLFLAGS) $(FILES) -o lpeg.so
+ env $(CC) $(CFLAGS) $(DLLFLAGS) $(LDFLAGS) $(FILES) -o lpeg.so
$(FILES): makefile

View File

@@ -1,41 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit flag-o-matic toolchain-funcs eutils multilib
DESCRIPTION="Parsing Expression Grammars for Lua"
HOMEPAGE="http://www.inf.puc-rio.br/~roberto/lpeg/"
SRC_URI="http://www.inf.puc-rio.br/~roberto/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~mips ~x86"
IUSE="debug doc"
RDEPEND=">=dev-lang/lua-5.1"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
epatch "${FILESDIR}"/${P}-makefile.patch
use debug && append-cflags -DLPEG_DEBUG
}
src_compile() {
emake CC="$(tc-getCC)"
}
src_test() {
lua test.lua || die
}
src_install() {
exeinto "$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)"
doexe lpeg.so
dodoc HISTORY
use doc && dohtml *
}

View File

@@ -1,41 +0,0 @@
# Copyright 1999-2015 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit flag-o-matic toolchain-funcs eutils multilib
DESCRIPTION="Parsing Expression Grammars for Lua"
HOMEPAGE="http://www.inf.puc-rio.br/~roberto/lpeg/"
SRC_URI="http://www.inf.puc-rio.br/~roberto/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~mips ppc ppc64 sparc ~x86"
IUSE="debug doc"
RDEPEND=">=dev-lang/lua-5.1"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.12.1-makefile.patch
use debug && append-cflags -DLPEG_DEBUG
}
src_compile() {
emake CC="$(tc-getCC)"
}
src_test() {
lua test.lua || die
}
src_install() {
exeinto "$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)"
doexe lpeg.so
dodoc HISTORY
use doc && dohtml *
}

View File

@@ -1,41 +0,0 @@
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit flag-o-matic toolchain-funcs eutils multilib
DESCRIPTION="Parsing Expression Grammars for Lua"
HOMEPAGE="http://www.inf.puc-rio.br/~roberto/lpeg/"
SRC_URI="http://www.inf.puc-rio.br/~roberto/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="amd64 ~arm hppa ~mips x86"
IUSE="debug doc"
RDEPEND=">=dev-lang/lua-5.1"
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
epatch "${FILESDIR}"/${P}-makefile.patch
use debug && append-cflags -DLPEG_DEBUG
}
src_compile() {
emake CC="$(tc-getCC)"
}
src_test() {
lua test.lua || die
}
src_install() {
exeinto "$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)"
doexe lpeg.so
dodoc HISTORY
use doc && dohtml *
}

View File

@@ -1,50 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
inherit flag-o-matic toolchain-funcs
DESCRIPTION="Parsing Expression Grammars for Lua"
HOMEPAGE="http://www.inf.puc-rio.br/~roberto/lpeg/"
SRC_URI="http://www.inf.puc-rio.br/~roberto/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~ppc ~x86"
IUSE="debug doc luajit"
RDEPEND="!luajit? ( >=dev-lang/lua-5.1:= )
luajit? ( dev-lang/luajit:2= )"
DEPEND="${RDEPEND}
virtual/pkgconfig"
DOCS=( "HISTORY" )
HTML_DOCS=( "lpeg.html" "re.html" )
PATCHES=( "${FILESDIR}"/${PN}-0.12.1-makefile.patch )
src_prepare() {
default
use debug && append-cflags -DLPEG_DEBUG
}
src_compile() {
emake CC="$(tc-getCC)" \
LUADIR="$($(tc-getPKG_CONFIG) --variable includedir $(usex luajit 'luajit' 'lua'))"
}
src_test() {
$(usex luajit 'luajit' 'lua') test.lua || die
}
src_install() {
local instdir
instdir="$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD $(usex luajit 'luajit' 'lua'))"
exeinto "${instdir#${EPREFIX}}"
doexe lpeg.so
instdir="$($(tc-getPKG_CONFIG) --variable INSTALL_LMOD $(usex luajit 'luajit' 'lua'))"
insinto "${instdir#${EPREFIX}}"
doins re.lua
use doc && einstalldocs
}

View File

@@ -1,44 +0,0 @@
# Copyright 1999-2016 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=5
inherit flag-o-matic toolchain-funcs eutils multilib
DESCRIPTION="Parsing Expression Grammars for Lua"
HOMEPAGE="http://www.inf.puc-rio.br/~roberto/lpeg/"
SRC_URI="http://www.inf.puc-rio.br/~roberto/${PN}/${P}.tar.gz"
LICENSE="MIT"
SLOT="0"
KEYWORDS="~amd64 ~arm ~hppa ~mips ~ppc ~ppc64 ~sparc ~x86"
IUSE="debug doc"
RDEPEND=">=dev-lang/lua-5.1:="
DEPEND="${RDEPEND}
virtual/pkgconfig"
src_prepare() {
epatch "${FILESDIR}"/${PN}-0.12.1-makefile.patch
use debug && append-cflags -DLPEG_DEBUG
}
src_compile() {
emake CC="$(tc-getCC)"
}
src_test() {
lua test.lua || die
}
src_install() {
exeinto "$($(tc-getPKG_CONFIG) --variable INSTALL_CMOD lua)"
doexe lpeg.so
dodoc HISTORY
if use doc; then
docinto html
dodoc *.html
fi
}