New Package: tolua
This commit is contained in:
parent
95d137c6e1
commit
17d769825f
3 changed files with 29 additions and 0 deletions
|
@ -2343,3 +2343,5 @@ libpodofo.so.0.9.3 podofo-0.9.3_1
|
|||
libIrcUtil.so.3 libcommuni-3.4.0_1
|
||||
libIrcCore.so.3 libcommuni-3.4.0_1
|
||||
libIrcModel.so.3 libcommuni-3.4.0_1
|
||||
libtolua.so tolua-5.2.0_1
|
||||
|
||||
|
|
1
srcpkgs/tolua-devel
Symbolic link
1
srcpkgs/tolua-devel
Symbolic link
|
@ -0,0 +1 @@
|
|||
tolua
|
26
srcpkgs/tolua/template
Normal file
26
srcpkgs/tolua/template
Normal file
|
@ -0,0 +1,26 @@
|
|||
# Template file for 'tolua'
|
||||
pkgname=tolua
|
||||
version=5.2.0
|
||||
revision=1
|
||||
build_style=cmake
|
||||
hostmakedepends="pkg-config cmake"
|
||||
makedepends="lua52-devel"
|
||||
short_desc="A tool that greatly simplifies the integration of C/C++ code with Lua"
|
||||
maintainer="Antonio Malcolm <antonio@antoniomalcolm.com>"
|
||||
license="GPL-2"
|
||||
homepage="https://github.com/LuaDist/tolua"
|
||||
distfiles="${homepage}/archive/${version}.tar.gz"
|
||||
checksum=121ae6b6e1fb86d064e5994be5ef43ee2e20d2602f40e6ba48fa9de867ffc3d5
|
||||
|
||||
shlib_provides="libtolua.so"
|
||||
|
||||
CFLAGS="-I${XBPS_CROSS_BASE}/usr/include/lua5.2 -fPIC"
|
||||
nopie=yes
|
||||
|
||||
tolua-devel_package() {
|
||||
depends="${sourcepkg}>=${version}_${revision}"
|
||||
short_desc+=" - development files"
|
||||
pkg_install() {
|
||||
vmove "usr/include"
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue