diff options
| author | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2020-11-29 16:26:54 +0000 |
|---|---|---|
| committer | Liguros - Gitlab CI/CD [develop] <gitlab@liguros.net> | 2020-11-29 16:26:54 +0000 |
| commit | a1e9479ae5a03e3d8de837760ba0970b33d437bf (patch) | |
| tree | c942cd195e3aa6996efdd9fec2c1dcd0c7ff114a /dev-lua/lua-term | |
| parent | a57f88110bcc0b8cc033205b9f46e6ad733df73a (diff) | |
| download | baldeagleos-repo-a1e9479ae5a03e3d8de837760ba0970b33d437bf.tar.gz baldeagleos-repo-a1e9479ae5a03e3d8de837760ba0970b33d437bf.tar.xz baldeagleos-repo-a1e9479ae5a03e3d8de837760ba0970b33d437bf.zip | |
Updating liguros repo
Diffstat (limited to 'dev-lua/lua-term')
| -rw-r--r-- | dev-lua/lua-term/lua-term-0.7-r101.ebuild (renamed from dev-lua/lua-term/lua-term-0.7-r100.ebuild) | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/dev-lua/lua-term/lua-term-0.7-r100.ebuild b/dev-lua/lua-term/lua-term-0.7-r101.ebuild index 5ced1bbb4f1a..d9f090f2e7e8 100644 --- a/dev-lua/lua-term/lua-term-0.7-r100.ebuild +++ b/dev-lua/lua-term/lua-term-0.7-r101.ebuild @@ -5,7 +5,6 @@ EAPI=7 LUA_COMPAT=( lua5-{1..3} luajit ) MY_PV="0.07" -MY_PV_SO="1.0.1" inherit lua toolchain-funcs @@ -28,11 +27,12 @@ src_prepare() { # Respect users CFLAGS sed -e 's/-O3//g' -i Makefile + + lua_copy_sources } lua_src_compile() { - # Clean project to compile it for every lua slot - emake clean + pushd "${BUILD_DIR}" || die local myemakeargs=( "CC=$(tc-getCC)" @@ -41,8 +41,7 @@ lua_src_compile() { emake "${myemakeargs[@]}" all - # Copy module to match the choosen LUA implementation - cp "core.so.${MY_PV_SO}" "core-${ELUA}.so.${MY_PV_SO}" || die + popd } src_compile() { @@ -50,8 +49,7 @@ src_compile() { } lua_src_install() { - # Use correct module for the choosen LUA implementation - cp "core-${ELUA}.so.${MY_PV_SO}" "core.so.${MY_PV_SO}" || die + pushd "${BUILD_DIR}" || die local myemakeargs=( LUA_LIBDIR="${ED}/$(lua_get_cmod_dir)/term" @@ -59,6 +57,8 @@ lua_src_install() { ) emake "${myemakeargs[@]}" install + + popd } src_install() { |
