wok-next view lua-expat/receipt @ rev 21375
updated mpd (0.17.2 -> 0.21.22)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 16 13:45:16 2020 +0100 (2020-04-16) |
parents | |
children |
line source
1 # SliTaz package receipt v2.
3 ORIGIN="luaexpat"
4 PACKAGE="lua-expat"
5 VERSION="1.3.0"
6 CATEGORY="system-tools"
7 SHORT_DESC="SAX XML parser based on the Expat library"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="MIT"
10 WEB_SITE="http://matthewwild.co.uk/projects/luaexpat/"
11 REPOLOGY="lua:expat"
13 TARBALL="$ORIGIN-$VERSION.tar.gz"
14 WGET_URL="http://matthewwild.co.uk/projects/luaexpat/$TARBALL"
15 TARBALL_SHA1="e56bbf2e980ffb3f82629270221bdf98f3bd757b"
17 BUILD_DEPENDS="expat-dev lua51-dev lua52-dev lua53-dev"
18 SPLIT="lua51-expat:5.1 lua52-expat:5.2 lua53-expat:5.3"
20 COPY_lua51_expat="@std"
21 COPY_lua52_expat="@std"
22 COPY_lua53_expat="@std"
24 CAT_std="nopack|"
25 CAT_lua51_expat="system-tools|for Lua 5.1"
26 CAT_lua52_expat="system-tools|for Lua 5.2"
27 CAT_lua53_expat="system-tools|for Lua 5.3"
29 DEPENDS_lua51_expat="expat lua51"
30 DEPENDS_lua52_expat="expat lua52"
31 DEPENDS_lua53_expat="expat lua53"
33 compile_rules() {
34 if [ -z "$SET" ]; then
35 cook_pick_docs $src/doc/us/*
36 return
37 fi
39 case $ARCH in
40 x86_64) CFLAGS="$CFLAGS -fPIC";;
41 esac
43 make LUA_V=$SET CFLAGS="$CFLAGS -DLUA_C89_NUMBERS" &&
44 make LUA_V=$SET install
45 }