diff options
Diffstat (limited to 'dev-lua/lpeg')
-rw-r--r-- | dev-lua/lpeg/Manifest | 16 | ||||
-rw-r--r-- | dev-lua/lpeg/files/lpeg-0.12-makefile.patch | 37 | ||||
-rw-r--r-- | dev-lua/lpeg/files/lpeg-0.12.1-makefile.patch | 37 | ||||
-rw-r--r-- | dev-lua/lpeg/lpeg-0.12.1.ebuild | 41 | ||||
-rw-r--r-- | dev-lua/lpeg/lpeg-0.12.2.ebuild | 41 | ||||
-rw-r--r-- | dev-lua/lpeg/lpeg-0.12.ebuild | 41 | ||||
-rw-r--r-- | dev-lua/lpeg/lpeg-1.0.0-r1.ebuild | 50 | ||||
-rw-r--r-- | dev-lua/lpeg/lpeg-1.0.0.ebuild | 44 | ||||
-rw-r--r-- | dev-lua/lpeg/lpeg-1.0.1.ebuild | 50 | ||||
-rw-r--r-- | dev-lua/lpeg/metadata.xml | 20 |
10 files changed, 377 insertions, 0 deletions
diff --git a/dev-lua/lpeg/Manifest b/dev-lua/lpeg/Manifest new file mode 100644 index 000000000000..8e8050cd78eb --- /dev/null +++ b/dev-lua/lpeg/Manifest @@ -0,0 +1,16 @@ +AUX lpeg-0.12-makefile.patch 833 SHA256 0d3614bc95a706bbe31be40406b7e5e0f00152f8c0d12c947b7b65250d621509 SHA512 50b880fca90ff5d833ea83ce66aae1a5c846d20ea161ef317f9d926c7d4327687d09eb95c70b7a5b0f63096c31df028c5a7edd6b361753a53ef75519cdcf0d55 WHIRLPOOL f1600193dedf7b8f0b36cb6f9e428dd0c64dfe97680db77ce1c68cb165654b8d630da27e391e03687aec6e204a003efe243a09f596416c7abf90bb1864868d72 +AUX lpeg-0.12.1-makefile.patch 820 SHA256 2fd3cfdcdfeb1f3a556b16b6f40b77543c2b571d7a77edcf376f0436ad9f50c9 SHA512 8f49c6c3b1575cc77d0d9d6c8b75098889af1f8fda58fee1f58150669909e6c4ecbd953738e9c917adcbb1bddc16debe5564b70694d6983295439e06e26782d6 WHIRLPOOL 617fdf2eda8351c469bfbd1c9bb25b7036565a6e8898b6281d250213e8da43354d0057f7f6b7668538bdb8bbc662ee8f23bba94dfe48bf04e49f106d8e3611c6 +DIST lpeg-0.12.1.tar.gz 67519 SHA256 60c6752dd043034c01929b04dab377d139f53bc098710cf735be53dd603fa22a SHA512 8cd47e169ce97c2eb40b865b0ef975b7a8fc58de1bde504518d9396b2a12efd92e7b2cfa1ccca59dd6a0cc22444fd1915a09e0d17fe78ba2a59bc3748546f60c WHIRLPOOL 0053b5df6c71b4b99d32f00c16b6156d7c96b4298059a17b8233c253db874117afd8daf217e19f8688a809b6f19f2293bca855af0c10c916b9fa22b29d43ad4b +DIST lpeg-0.12.2.tar.gz 68122 SHA256 6aad270b91d1b1c6fd75f68e162329a04a644e50e917d55f46cc8384b7120004 SHA512 81505674473d83e2c777d470cd6ba4eead48ecc32e58e52bc192ca7a167f882e722c5a0cae62937fb3f5f71d6216de1ba4ea3d932e72265028f293d778df5e9e WHIRLPOOL df86921662b812ede574a602e84bc0dc581006b5027f40f3a6c0e15e8ac03dbea40ab3b5c8417143a14a25e953f084818b80af317d17dacdda97283366c51632 +DIST lpeg-0.12.tar.gz 66649 SHA256 efa545144cd219eee823af7624d90f78c2230677ba740b7151c5d0c303778b76 SHA512 bf8c4fe486f5e965b793d8526dd1fc5c8905c4b065a1abe52ec8e41ebbe48292315a7460dc56fb7a029b4673057f9da7e53854bb79bb54dd8a4378391efc24a2 WHIRLPOOL 3e131da888eff53fbfa6203ed363f34832c52fb0fafca9006dd1da956c89a76528dc9aaf255426a148497c55df74ccb72cf87e234f5c432c4e2c28a5dfd0a9a1 +DIST lpeg-1.0.0.tar.gz 70267 SHA256 10190ae758a22a16415429a9eb70344cf29cbda738a6962a9f94a732340abf8e SHA512 a245d2e0b8604121d8b4466052ab5da4f2b1f81c1c4b2579d8d5498920fc351d46fe4159a0b5948d1b377ef9bda410c4bf40ffd228b9f26bf346dfba2a7b9fb7 WHIRLPOOL 808b1ddc61402c707a829641051c9321030573e85e863a6463bd8f114e89576dc7566585ae331a8af6d1f970c29b4256141df90fa5fe3616bea5691040262498 +DIST lpeg-1.0.1.tar.gz 71527 SHA256 62d9f7a9ea3c1f215c77e0cadd8534c6ad9af0fb711c3f89188a8891c72f026b SHA512 7b43fbee7eff443000986684bc56bba6d2796a31cf860740746c70e155bdea1b62a46b93f97e2747e3ef0f63e965148778ac2985d0f2d83e1e37ec4ebbabf4aa WHIRLPOOL a678ee2b2f934ebc32b19764703b14ec90d7440cd204fceae9ba89b8a2b0b89f9192a71548e7818b66e37f8bc916c051a360a848fcc645b7ab7265016a794020 +EBUILD lpeg-0.12.1.ebuild 801 SHA256 67f0decb039c65c89005871b7cf0721a2125ea9788f1ed841517b954080ba5b4 SHA512 23936ca4fb3a3439fc0ecd7da63db6663a7ab81bda395ae905785b0a830e99ee60dfedc25fd675ece61e36d67a5c04c2257a8470bc8e6e9d10bebf115716711b WHIRLPOOL 92a49f6f66faa475a7442be8371a2210ea6a99cbd409f976d8ad8598ce487e085669fbb8f24cf2c3c7f6902cb58e8bead7c99f973f52ba5f28d0e21b62c16419 +EBUILD lpeg-0.12.2.ebuild 825 SHA256 d969e8e998329090349eee31c49268e41b9980643c2ce1c4ac4b01b0549203e1 SHA512 00963968d9ea51b6e5fc7d49c8640efd1e540758818ce157070c7c7e73c71e942f5153729d378d6a374267f27dce704637497a3e130e554562cb215e63bf8c2b WHIRLPOOL 7aafb81a42e8aeb01740f4aa7bede675eda555f8b8c07a46654610575dfc381a8f79a33b016599eeaf645ddd698dcac895adb71831f0cc12813ca850454c2d2a +EBUILD lpeg-0.12.ebuild 798 SHA256 5a38b09ce0b975c137019c229a63717f606ca6d6d4cf71bd3dadab286dcba54f SHA512 c4a79172a8c86e98ea9d22f0409f979f256d470b49a4c4a982ad2384a85898eea03255f99af4d17d711e4b9832c0d2fc171b564d8da15fec085ca7e2f6ccb1ad WHIRLPOOL f0ab05a2b97f7a226e513b6679957938acc7ebbbb02a680ffec127d6beaa9739dd58bd9a96cd001c48d3395a5935921ea69066191513c20e5cbfffc2eafb2081 +EBUILD lpeg-1.0.0-r1.ebuild 1228 SHA256 1e61aa6440b382553abc95b5def88c7b4904a383d6d25635f8edb038c12863dc SHA512 7763085f63bfac4778eaa538fba7bc271d062b5ae53f0c9c64fbf2f309d7009194de45563d4f9f3e8fc566d263c30bd98c9c3b057bcb3d8d77bb7228b9bb40ed WHIRLPOOL e31cb5a51625b86e67fe77be4789e651251b6ce9f521ff93e7df9c3dac768a5ffd0bff9b1643250524422931bf98ac0c4bec7e4d25d2f4cd724f3518aae8d547 +EBUILD lpeg-1.0.0.ebuild 861 SHA256 cf5c0733b243169b9311891bf9a076f1b21d6c581f0a77632a388ed050e5367f SHA512 fc6783d718d10c0ab3de85f82be9a3c6671e0aaaf58893147dffe190e3690bab575a4d9bfff5bee7531fb7a86487c9123341264fb8eab88c92360e20895230f4 WHIRLPOOL df2eb086a09cc48ec7d1de9d99fd2cd980fef2b2f88cee71b12d692d0c44a4caa52f9f2369145aa755fa682ac8bfa45fd2a2ae31dd02c99692d22a02d7cd732c +EBUILD lpeg-1.0.1.ebuild 1235 SHA256 9e2b4fc5da1b6b12c89876ba70c8b60d4f60bcc2db4336f9c87e14bfbb917376 SHA512 6037bf092afb3f719c6731215e8db50bf436967aec7544c57b888e5a69c3fa6c8f68ad8d1599d12e5eb80ca20a5ca1ee0c309f394097e0f0f2d70169bb93a908 WHIRLPOOL f957fa378a9704739ecb186a247b426f14470192dbab08dc425f922d6eeae2f0257f681255f08b4d8847e690a2e530418676c1845ecf17188eb4a82aa456eaa6 +MISC ChangeLog 4351 SHA256 3c92505c5ad7dca8d880b1e12c2f248f7a58910be10274a0a969065e508e257e SHA512 89640a3fc10808eb6cb0d0849689c0847d9805068f0ab6a0041e3deb1bab3058553b655bd109416203bea10054e70555af459b45bf6b7be52876674a0b6509d4 WHIRLPOOL 68a253ed3d32ac1364f87e3f5b0be9baca68364a15b2ab778a9424b6abadab1587a32d2c55016fda724a7c43ee8754b2082051bcce749119e843a528c016c0c6 +MISC ChangeLog-2015 1670 SHA256 17d2a958a4499ad653617bacbf24064136698c5f25735e20c38d4230fa1e0762 SHA512 b7e436b55598f57c4c6867815dee2cf9d2aa0c2afb3c1b2501544a0a0f96654feb41a9bc79cb58bc1fc08fe037400058d57b95098ef01dfc137f793eeb201748 WHIRLPOOL 61fc0f8b84772ac45db7e34bb3a5549e94caba8adcab361a854a31a8930d2413aaa7cb31369a7a1ada1940edef2f5f78ef2bd15ca5b2945f5cdc578281236e66 +MISC metadata.xml 611 SHA256 632107222250fbdd70c0473e89e0e3ad6b7023e21aff6cf275c105a60da9bdca SHA512 7accecfd343b559b674a9351c72ff9c592ab3011878c89517c44f19d72461193cbb3b564e2895791c52311ab46fb0d3852b62cfb4e6398bc994f4920a04cddd6 WHIRLPOOL 9ea24b7c1e09ee55e4f5649f68319aaea014ba7b6e9fd0dbce03f4129298aef10390fcc80fc2d7e5412c5e3b374fd13c8ec0290645019b2def76184687b648c7 diff --git a/dev-lua/lpeg/files/lpeg-0.12-makefile.patch b/dev-lua/lpeg/files/lpeg-0.12-makefile.patch new file mode 100644 index 000000000000..5734de9f55d8 --- /dev/null +++ b/dev-lua/lpeg/files/lpeg-0.12-makefile.patch @@ -0,0 +1,37 @@ +--- 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 + diff --git a/dev-lua/lpeg/files/lpeg-0.12.1-makefile.patch b/dev-lua/lpeg/files/lpeg-0.12.1-makefile.patch new file mode 100644 index 000000000000..a0be0558aa97 --- /dev/null +++ b/dev-lua/lpeg/files/lpeg-0.12.1-makefile.patch @@ -0,0 +1,37 @@ +--- lpeg-0.12.1/makefile ++++ lpeg-0.12.1/makefile +@@ -1,7 +1,7 @@ + LIBNAME = lpeg + LUADIR = ../lua/ + +-COPT = -O2 ++#COPT = -O2 + # COPT = -DLPEG_DEBUG -g + + CWARNS = -Wall -Wextra -pedantic \ +@@ -22,21 +22,21 @@ + # -Wunreachable-code \ + + +-CFLAGS = $(CWARNS) $(COPT) -std=c99 -I$(LUADIR) -fPIC ++CFLAGS += $(CWARNS) $(COPT) -std=c99 -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) $(DLLFLAGS) $(LDFLAGS) $(FILES) -o lpeg.so + + $(FILES): makefile + diff --git a/dev-lua/lpeg/lpeg-0.12.1.ebuild b/dev-lua/lpeg/lpeg-0.12.1.ebuild new file mode 100644 index 000000000000..53f25f0a893e --- /dev/null +++ b/dev-lua/lpeg/lpeg-0.12.1.ebuild @@ -0,0 +1,41 @@ +# 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 * +} diff --git a/dev-lua/lpeg/lpeg-0.12.2.ebuild b/dev-lua/lpeg/lpeg-0.12.2.ebuild new file mode 100644 index 000000000000..6319080ac625 --- /dev/null +++ b/dev-lua/lpeg/lpeg-0.12.2.ebuild @@ -0,0 +1,41 @@ +# 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 * +} diff --git a/dev-lua/lpeg/lpeg-0.12.ebuild b/dev-lua/lpeg/lpeg-0.12.ebuild new file mode 100644 index 000000000000..effaef3753fd --- /dev/null +++ b/dev-lua/lpeg/lpeg-0.12.ebuild @@ -0,0 +1,41 @@ +# 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 * +} diff --git a/dev-lua/lpeg/lpeg-1.0.0-r1.ebuild b/dev-lua/lpeg/lpeg-1.0.0-r1.ebuild new file mode 100644 index 000000000000..a3f02c029a24 --- /dev/null +++ b/dev-lua/lpeg/lpeg-1.0.0-r1.ebuild @@ -0,0 +1,50 @@ +# 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 +} diff --git a/dev-lua/lpeg/lpeg-1.0.0.ebuild b/dev-lua/lpeg/lpeg-1.0.0.ebuild new file mode 100644 index 000000000000..49e27a58c953 --- /dev/null +++ b/dev-lua/lpeg/lpeg-1.0.0.ebuild @@ -0,0 +1,44 @@ +# 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 +} diff --git a/dev-lua/lpeg/lpeg-1.0.1.ebuild b/dev-lua/lpeg/lpeg-1.0.1.ebuild new file mode 100644 index 000000000000..9bf23d5a55b4 --- /dev/null +++ b/dev-lua/lpeg/lpeg-1.0.1.ebuild @@ -0,0 +1,50 @@ +# Copyright 1999-2017 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 ~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 +} diff --git a/dev-lua/lpeg/metadata.xml b/dev-lua/lpeg/metadata.xml new file mode 100644 index 000000000000..8bc501c65d7d --- /dev/null +++ b/dev-lua/lpeg/metadata.xml @@ -0,0 +1,20 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <maintainer type="project"> + <email>vim@gentoo.org</email> + <name>Gentoo Vim Project</name> + </maintainer> + <maintainer type="project"> + <email>proxy-maint@gentoo.org</email> + <name>Proxy Maintainers</name> + </maintainer> + <maintainer type="person" > + <email>lluixhi@gmail.com</email> + <name>Aric Belsito</name> + </maintainer> + <use> + <flag name="luajit">Use <pkg>dev-lang/luajit</pkg> instead of + <pkg>dev-lang/lua</pkg></flag> + </use> +</pkgmetadata> |