depend on lua overlay

This commit is contained in:
odrling 2020-12-06 23:59:05 +01:00
parent 722d635513
commit 223fa95ef3
9 changed files with 1 additions and 205 deletions

View File

@ -1,24 +0,0 @@
# Copyright 1999-2019 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
VCS="git"
LUA_COMPAT="lua51 lua52 lua53 luajit2"
GITHUB_A="mpeterv"
inherit lua
DESCRIPTION="Feature-rich command line parser for Lua "
HOMEPAGE="https://github.com/mpeterv/argparse"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE="doc"
DOCS=(README.md)
each_lua_install() {
dolua "src/${PN}.lua"
}

View File

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE
pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo-overlay@mva.name</email>
<description>If you have any issues, please contact me via
e-mail, jabber (mva@), or IRC (FreeNode, RusNet,
OFTC)</description>
<name>Vadim A. Misbakh-Soloviov</name>
</maintainer>
<longdescription>Long description of the
package</longdescription>
</pkgmetadata>

View File

@ -1,30 +0,0 @@
# Copyright 1999-2019 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
IS_MULTILIB=true
VCS="git"
GITHUB_A="hoelzro"
inherit lua
DESCRIPTION="inotify bindings for Lua"
HOMEPAGE="https://github.com/hoelzro/linotify"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE=""
RDEPEND="virtual/libc"
DOCS=(README.md)
each_lua_compile() {
lua_default LUAPKG_CMD="${lua_impl}"
}
each_lua_install() {
dolua inotify.so
}

View File

@ -1,14 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE
pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo-overlay@mva.name</email>
<description>If you have any issues, please contact me via
e-mail, jabber (mva@), or IRC (FreeNode, RusNet,
OFTC)</description>
<name>Vadim A. Misbakh-Soloviov</name>
</maintainer>
<longdescription>Long description of the
package</longdescription>
</pkgmetadata>

View File

@ -1,37 +0,0 @@
# Copyright 1999-2019 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
VCS="git"
IS_MULTILIB="true"
GITHUB_A="keplerproject"
inherit lua
DESCRIPTION="File System Library for the Lua Programming Language"
HOMEPAGE="https://keplerproject.github.io/luafilesystem/"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE="doc"
HTML_DOCS=(doc/us/.)
DOCS=(README.md)
all_lua_prepare() {
sed -e 'd' config
lua_default
}
each_lua_configure() {
myeconfargs=(
LIB_OPTION='$(LDFLAGS)'
)
lua_default
}
each_lua_install() {
dolua src/lfs.so
}

View File

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE
pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo-overlay@mva.name</email>
<description>If you have any issues, please contact me via
e-mail, jabber (mva@), or IRC (FreeNode, RusNet,
OFTC)</description>
<name>Vadim A. Misbakh-Soloviov</name>
</maintainer>
<longdescription>Long description of the
package</longdescription>
<use>
</use>
</pkgmetadata>

View File

@ -1,16 +0,0 @@
<?xml version="1.0" encoding="utf-8"?>
<!DOCTYPE
pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
<pkgmetadata>
<maintainer type="person">
<email>gentoo-overlay@mva.name</email>
<description>If you have any issues, please contact me via
e-mail, jabber (mva@), or IRC (FreeNode, RusNet,
OFTC)</description>
<name>Vadim A. Misbakh-Soloviov</name>
</maintainer>
<longdescription>Long description of the
package</longdescription>
<use>
</use>
</pkgmetadata>

View File

@ -1,53 +0,0 @@
# Copyright 1999-2019 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
EAPI=6
VCS="git"
GITHUB_A="leafo"
inherit lua
DESCRIPTION="A programmer friendly language that compiles into Lua."
HOMEPAGE="https://github.com/leafo/moonscript"
LICENSE="MIT"
SLOT="0"
KEYWORDS=""
IUSE="+doc +inotify"
RDEPEND="
|| (
dev-lua/lpeg
dev-lua/lulpeg[lpeg_replace]
)
dev-lua/luafilesystem
dev-lua/argparse
inotify? ( dev-lua/linotify )
"
DEPEND="${RDEPEND}"
DOCS=(docs/. README.md)
each_lua_compile() {
local lua="$(lua_get_implementation)"
${lua} bin/moonc moon/ moonscript/
}
all_lua_compile() {
local lua="$(lua_get_implementation)"
echo "#!/usr/bin/env lua" > bin/moon
${lua} bin/moonc -p bin/moon.moon >> bin/moon
echo "-- vim: set filetype=lua:" >> bin/moon
${lua} bin/moonc -p bin/splat.moon >> bin/splat
}
each_lua_install() {
dolua moon{,script}{,.lua}
}
all_lua_install() {
dobin bin/{moon,moonc,splat}
}

View File

@ -2,4 +2,4 @@ thin-manifests = true
sign-manifests = false
profile-formats = portage-2
cache-formats = md5-dict
masters = gentoo
masters = gentoo lua