wok-next diff luabitop/receipt @ rev 20796

Add descriptions to the GNOME games
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sun Jun 10 16:17:43 2018 +0300 (2018-06-10)
parents
children df20b2110f7e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/luabitop/receipt	Sun Jun 10 16:17:43 2018 +0300
     1.3 @@ -0,0 +1,26 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="luabitop"
     1.7 +VERSION="1.0.2"
     1.8 +CATEGORY="system-tools"
     1.9 +SHORT_DESC="Bitwise operations on numbers"
    1.10 +MAINTAINER="al.bobylev@gmail.com"
    1.11 +LICENSE="MIT"
    1.12 +WEB_SITE="https://bitop.luajit.org/"
    1.13 +
    1.14 +TARBALL="LuaBitOp-$VERSION.tar.gz"
    1.15 +WGET_URL="https://bitop.luajit.org/download/$TARBALL"
    1.16 +
    1.17 +BUILD_DEPENDS="lua5.1-dev"
    1.18 +
    1.19 +compile_rules() {
    1.20 +	make \
    1.21 +		INCLUDES=' -I/usr/include/lua/5.1' \
    1.22 +		LUA='lua5.1' &&
    1.23 +	install -Dm755 bit.so "$install/usr/lib/lua/5.1/bit.so"
    1.24 +}
    1.25 +
    1.26 +genpkg_rules() {
    1.27 +	copy @std
    1.28 +	DEPENDS="lua5.1"
    1.29 +}