diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2018-07-14 20:57:42 +0100 |
commit | 1798c4aeca70ac8d0a243684d6a798fbc65735f8 (patch) | |
tree | e48e19cb6fa03de18e1c63e1a93371b7ebc4eb56 /dev-lua/lpeg/lpeg-1.0.1.ebuild | |
parent | d87262dd706fec50cd150aab3e93883b6337466d (diff) |
gentoo resync : 14.07.2018
Diffstat (limited to 'dev-lua/lpeg/lpeg-1.0.1.ebuild')
-rw-r--r-- | dev-lua/lpeg/lpeg-1.0.1.ebuild | 53 |
1 files changed, 0 insertions, 53 deletions
diff --git a/dev-lua/lpeg/lpeg-1.0.1.ebuild b/dev-lua/lpeg/lpeg-1.0.1.ebuild deleted file mode 100644 index 1578b536ade8..000000000000 --- a/dev-lua/lpeg/lpeg-1.0.1.ebuild +++ /dev/null @@ -1,53 +0,0 @@ -# Copyright 1999-2018 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 arm64 hppa ~mips ppc ppc64 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 -} |