wok-next view luasocket/receipt @ rev 21087
Updates...
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
Revert names: libsdl -> sdl, libsmpeg -> smpeg, libtdb -> tdb
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Dec 28 05:11:49 2018 +0200 (2018-12-28) |
parents | df20b2110f7e |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="luasocket"
4 VERSION="2.0.2"
5 CATEGORY="development"
6 SHORT_DESC="Network support for the Lua language"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://w3.impa.br/~diego/software/luasocket/home.html"
10 REPOLOGY="lua:socket"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://luaforge.net/frs/download.php/2664/$TARBALL"
15 BUILD_DEPENDS="lua5.1-dev"
17 compile_rules() {
18 make CFLAGS="$CFLAGS -I/usr/include/lua/5.1" &&
19 make DESTDIR=$install install
20 }
22 genpkg_rules() {
23 mkdir -p $fs/usr/share
24 cp -a $install/usr/lib $fs/usr
25 cp -a $install/usr/share/lua $fs/usr/share
26 DEPENDS="lua5.1"
27 }