wok view hubbub/receipt @ rev 25794
created recipe for exo-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 16:19:52 2024 +0100 (4 weeks ago) |
parents | af8d823a3077 |
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="https://www.netsurf-browser.org/projects/hubbub/"
11 TARBALL="lib$PACKAGE-$VERSION-src.tar.gz"
12 WGET_URL="https://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 }