wok-next view libhubbub/receipt @ rev 20963
Add hackdorte-artwork and remove appropriate old packages with dead homepages
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Sep 08 15:02:14 2018 +0300 (2018-09-08) |
parents | c4e53a39395a |
children | 228b9c951d97 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libhubbub"
4 COMMIT=""
5 VERSION="0.3.4"
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/"
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 libparserutils-dev"
21 SPLIT="libhubbub-dev"
23 compile_rules() {
24 [ -z "$COMMIT" ] && cd $VERSION
26 make \
27 PREFIX=/usr \
28 LIBDIR=lib \
29 INCLUDEDIR=include \
30 COMPONENT_TYPE=lib-shared \
31 install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 libhubbub)
37 copy @std
38 DEPENDS="libparserutils"
39 PROVIDE="hubbub" # old package name
40 ;;
41 *-dev)
42 copy @dev
43 DEPENDS="libhubbub libparserutils-dev"
44 PROVIDE="hubbub-dev"
45 ;;
46 esac
47 TAGS="netsurf"
48 }