wok-next view libhubbub/receipt @ rev 20430
fake-sane: fix copy-paste typo
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jan 24 13:29:11 2018 +0200 (2018-01-24) |
parents | |
children | c4e53a39395a |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libhubbub"
4 COMMIT="0eb6188c3a931063f78b017c621b79709746706e"
5 VERSION="0.3.3-170909"
6 CATEGORY="system-tools"
7 SHORT_DESC="Hubbub is an HTML5 compliant parsing library, written in C"
8 MAINTAINER="pankso@slitaz.org"
9 LICENSE="MIT"
10 WEB_SITE="http://www.netsurf-browser.org/projects/hubbub/"
11 HOST_ARCH="i486 arm"
13 TARBALL="$PACKAGE-${COMMIT:-$VERSION}.tar.bz2"
14 BASE_URL="http://source.netsurf-browser.org/$PACKAGE.git/snapshot"
15 if [ -n "$COMMIT" ]; then
16 WGET_URL="$BASE_URL/$PACKAGE-$COMMIT.tar.bz2"
17 else
18 WGET_URL="$BASE_URL/release/$VERSION.tar.bz2"
19 fi
21 BUILD_DEPENDS="netsurf-buildsystem libparserutils-dev"
22 SPLIT="libhubbub-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 libhubbub)
38 copy @std
39 DEPENDS="libparserutils"
40 PROVIDE="hubbub" # old package name
41 ;;
42 *-dev)
43 copy @dev
44 DEPENDS="libhubbub libparserutils-dev"
45 PROVIDE="hubbub-dev"
46 ;;
47 esac
48 }