21 lines
684 B
Plaintext
21 lines
684 B
Plaintext
# Template file for 'luasocket'
|
|
pkgname=luasocket
|
|
version=2.0.2
|
|
revision=5
|
|
build_style=gnu-makefile
|
|
makedepends="lua51-devel"
|
|
depends="lua51"
|
|
short_desc="Network support for the Lua language "
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="MIT"
|
|
homepage="http://w3.impa.br/~diego/software/luasocket/"
|
|
update_site="https://github.com/diegonehab/luasocket/tags"
|
|
update_pattern='archive/v\K[\d\w-.]+(?=\.tar\.gz)'
|
|
update_ignore="*rc*"
|
|
distfiles="http://luaforge.net/frs/download.php/2664/luasocket-$version.tar.gz"
|
|
checksum=4fd9c775cfd98841299851e29b30176caf289370fea1ff1e00bb67c2d6842ca6
|
|
|
|
do_build() {
|
|
make CC=$CC LD=$CC LUAINC=-I${XBPS_CROSS_BASE}/usr/include/lua5.1 ${makejobs}
|
|
}
|