wok view lua5.1-mpack/receipt @ rev 25526
created recipe for lua5.1-mpack 1.0.9
author | Hans-G?nter Theisgen |
---|---|
date | Sat Feb 25 07:18:33 2023 +0100 (21 months ago) |
parents | |
children | 595fe6959202 |
line source
1 # SliTaz package receipt.
3 PACKAGE="lua5.1-mpack"
4 VERSION="1.0.9"
5 CATEGORY="development"
6 SHORT_DESC="Libmpack bindings for Lua."
7 MAINTAINER="maintainer@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://github.com/libmpack/libmpack-lua/"
10 REPOLOGY="lua:mpack"
12 SOURCE="libmpack-lua"
13 TARBALL="$PACKAGE-$VERSION.tar.gz"
14 WGET_URL="${WEB_SITE}archive/$VERSION.tar.gz"
16 SUGGESTED="lua5.1"
17 DEPENDS="libmpack"
18 BUILD_DEPENDS="libmpack-dev lua5.1 lua5.1-dev"
20 # Rules to configure and make the package.
21 compile_rules()
22 {
23 make \
24 FETCH=false \
25 LUA_INCLUDE=-I/usr/include/lua/5.1 \
26 USE_SYSTEM_LUA=yes \
27 USE_SYSTEM_MPACK=yes \
28 LUA_LIB=/usr/lib/lua/5.1 &&
29 make install \
30 FETCH=false \
31 LUA_INCLUDE=-I/usr/include/lua/5.1 \
32 USE_SYSTEM_LUA=yes \
33 USE_SYSTEM_MPACK=yes \
34 LUA_LIB=/usr/lib/lua/5.1 \
35 DESTDIR="$DESTDIR"
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 cook_copy_files *.so*
42 }