wok-current view hubbub/receipt @ rev 25519
created recipes for libuv and libuv-dev 1.44.1
author | Hans-G?nter Theisgen |
---|---|
date | Fri Feb 24 15:35:59 2023 +0100 (18 months ago) |
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 }