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