wok-next view luasocket/receipt @ rev 20730
glib: up (2.56.1) with static libs and Python2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 15:17:41 2018 +0300 (2018-05-29) |
parents | a9a5db029b18 |
children | df20b2110f7e |
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="rocky@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://w3.impa.br/~diego/software/luasocket/home.html"
11 WGET_URL="http://luaforge.net/frs/download.php/2664/$TARBALL"
13 DEPENDS="lua5.1"
14 BUILD_DEPENDS="lua5.1-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 make CFLAGS="$CFLAGS -I/usr/include/lua/5.1" && make DESTDIR=$DESTDIR install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share
26 cp -a $install/usr/lib $fs/usr
27 cp -a $install/usr/share/lua $fs/usr/share
28 }