wok-next view libnslayout/receipt @ rev 19980
Up libva (1.8.2)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 18 03:39:08 2017 +0300 (2017-10-18) |
parents | |
children | b19ddba309f9 |
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 }