wok-next view luasocket/receipt @ rev 20785

gpgme: add gnupg, since build can not find gpgconf and gpg
author Erkan Yilmaz <erkan@slitaz.org>
date Sat Jun 09 07:02:52 2018 +0000 (2018-06-09)
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 }