wok-6.x annotate hubbub/receipt @ rev 25223

updated python-pyalsaaudio (0.8.4 -> 0.9.0)
author Hans-G?nter Theisgen
date Wed Jul 13 16:25:00 2022 +0100 (2022-07-13)
parents b269c5c2be2d
children
rev   line source
pankso@2825 1 # SliTaz package receipt.
pankso@2825 2
pankso@2825 3 PACKAGE="hubbub"
pascal@15649 4 VERSION="0.1.2"
pankso@2825 5 CATEGORY="system-tools"
pankso@2825 6 SHORT_DESC="Hubbub is a flexible HTML parser."
pankso@2825 7 MAINTAINER="pankso@slitaz.org"
pascal@15600 8 LICENSE="MIT"
pankso@9822 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pankso@2825 10 WEB_SITE="http://www.netsurf-browser.org/projects/hubbub/"
pascal@15649 11 TARBALL="lib$PACKAGE-$VERSION-src.tar.gz"
pascal@15649 12 WGET_URL="http://download.netsurf-browser.org/libs/releases/$TARBALL"
pankso@16251 13 HOST_ARCH="i486 arm"
pankso@2825 14
pankso@9822 15 DEPENDS="libparserutils"
pascal@15649 16 BUILD_DEPENDS="libparserutils-dev"
pankso@9822 17
pascal@24445 18 # What is the latest version available today?
pascal@24445 19 current_version()
pascal@24445 20 {
pascal@24445 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24445 22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\)-src.*|\\1|" | sort -Vr | sed q
pascal@24445 23 }
pascal@24445 24
pankso@2825 25 # Rules to configure and make the package.
pankso@2825 26 compile_rules()
pankso@2825 27 {
pankso@9822 28 make install DESTDIR=$DESTDIR PREFIX=/usr &&
pankso@9822 29 make install COMPONENT_TYPE=lib-shared DESTDIR=$DESTDIR PREFIX=/usr
pankso@2825 30 }
pankso@2825 31 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2825 32 genpkg_rules()
pankso@2825 33 {
pankso@2825 34 mkdir -p $fs/usr/lib
pankso@9822 35 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@2825 36 }