mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-05 06:33:50 +02:00
lua52: adopt, fix pkg-config
This commit is contained in:
parent
b5a787d972
commit
3259d2e9a2
2 changed files with 5 additions and 6 deletions
|
@ -10,11 +10,12 @@ INSTALL_LMOD=${prefix}/share/lua/${V}
|
||||||
INSTALL_CMOD=${prefix}/lib/lua/${V}
|
INSTALL_CMOD=${prefix}/lib/lua/${V}
|
||||||
exec_prefix=${prefix}
|
exec_prefix=${prefix}
|
||||||
libdir=${exec_prefix}/lib
|
libdir=${exec_prefix}/lib
|
||||||
includedir=${prefix}/include
|
includedir=${prefix}/include/lua${V}
|
||||||
|
|
||||||
Name: Lua
|
Name: Lua
|
||||||
Description: An Extensible Extension Language
|
Description: An Extensible Extension Language
|
||||||
Version: ${R}
|
Version: ${R}
|
||||||
Requires:
|
Requires:
|
||||||
Libs: -L${libdir} -llua -lm
|
Libs: -L${libdir} -llua${V}
|
||||||
|
Libs.private: -lm -ldl
|
||||||
Cflags: -I${includedir}
|
Cflags: -I${includedir}
|
||||||
|
|
|
@ -1,11 +1,11 @@
|
||||||
# Template file for 'lua52'
|
# Template file for 'lua52'
|
||||||
pkgname=lua52
|
pkgname=lua52
|
||||||
version=5.2.4
|
version=5.2.4
|
||||||
revision=8
|
revision=9
|
||||||
wrksrc=lua-${version}
|
wrksrc=lua-${version}
|
||||||
makedepends="ncurses-devel readline-devel"
|
makedepends="ncurses-devel readline-devel"
|
||||||
short_desc="Powerful, fast, lightweight, embeddable scripting language (5.2.x)"
|
short_desc="Powerful, fast, lightweight, embeddable scripting language (5.2.x)"
|
||||||
maintainer="Orphaned <orphan@voidlinux.org>"
|
maintainer="q66 <daniel@octaforge.org>"
|
||||||
license="MIT"
|
license="MIT"
|
||||||
homepage="https://www.lua.org"
|
homepage="https://www.lua.org"
|
||||||
distfiles="https://www.lua.org/ftp/lua-$version.tar.gz"
|
distfiles="https://www.lua.org/ftp/lua-$version.tar.gz"
|
||||||
|
@ -37,8 +37,6 @@ do_install() {
|
||||||
|
|
||||||
sed ${FILESDIR}/lua.pc \
|
sed ${FILESDIR}/lua.pc \
|
||||||
-e "s;%VER%;${version%.*};g;s;%REL%;${version};g" \
|
-e "s;%VER%;${version%.*};g;s;%REL%;${version};g" \
|
||||||
-e "s;llua;llua5.2;" \
|
|
||||||
-e "s;/include;/include/lua5.2;" \
|
|
||||||
> lua5.2.pc
|
> lua5.2.pc
|
||||||
vinstall lua5.2.pc 644 usr/lib/pkgconfig
|
vinstall lua5.2.pc 644 usr/lib/pkgconfig
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue