wok-current view hubbub/receipt @ rev 24982
Update some wget_url
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun May 08 13:06:36 2022 +0000 (2022-05-08) |
parents | b269c5c2be2d |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="hubbub"
4 VERSION="0.1.2"
5 CATEGORY="system-tools"
6 SHORT_DESC="Hubbub is a flexible HTML parser."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.netsurf-browser.org/projects/hubbub/"
11 TARBALL="lib$PACKAGE-$VERSION-src.tar.gz"
12 WGET_URL="http://download.netsurf-browser.org/libs/releases/$TARBALL"
13 HOST_ARCH="i486 arm"
15 DEPENDS="libparserutils"
16 BUILD_DEPENDS="libparserutils-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\)-src.*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 make install DESTDIR=$DESTDIR PREFIX=/usr &&
29 make install COMPONENT_TYPE=lib-shared DESTDIR=$DESTDIR PREFIX=/usr
30 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib
35 cp -a $install/usr/lib/*.so* $fs/usr/lib
36 }