wok-next view libnslayout/receipt @ rev 20528
Up tzdata (2018d)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Mar 24 11:10:32 2018 +0200 (2018-03-24) |
parents | 417f77dae192 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libnslayout"
4 COMMIT="b77ae8ab7d1ce435d8afd3c77613c5a56c477025"
5 VERSION="0-170617"
6 CATEGORY="libs"
7 SHORT_DESC="NetSurf Layout Engine"
8 MAINTAINER="al.bobylev@gmail.com"
9 LICENSE="MIT"
10 WEB_SITE="http://source.netsurf-browser.org/libnslayout.git/"
12 TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2"
13 BASE_URL="http://source.netsurf-browser.org/$PACKAGE.git/snapshot"
14 if [ -n "$COMMIT" ]; then
15 WGET_URL="$BASE_URL/$PACKAGE-$COMMIT.tar.bz2"
16 else
17 WGET_URL="$BASE_URL/release/$VERSION.tar.bz2"
18 fi
20 BUILD_DEPENDS="netsurf-buildsystem libcss-dev libdom-dev libwapcaplet-dev \
21 libparserutils-dev"
22 SPLIT="libnslayout-dev"
24 compile_rules() {
25 [ -z "$COMMIT" ] && cd $VERSION
27 make \
28 PREFIX=/usr \
29 LIBDIR=lib \
30 INCLUDEDIR=include \
31 COMPONENT_TYPE=lib-shared \
32 install
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 libnslayout)
38 copy @std
39 DEPENDS="expat libcss libdom libhubbub libparserutils libwapcaplet"
40 ;;
41 *-dev)
42 copy @dev
43 DEPENDS="libnslayout libcss-dev libdom-dev libparserutils-dev \
44 libwapcaplet-dev"
45 ;;
46 esac
47 TAGS="netsurf"
48 }