wok annotate libparserutils/receipt @ rev 25288

libQt5Plugins: removed dependency libQt3Support
author Hans-G?nter Theisgen
date Tue Jul 19 07:28:24 2022 +0100 (2022-07-19)
parents b269c5c2be2d
children ab858238497c
rev   line source
pankso@2824 1 # SliTaz package receipt.
pankso@2824 2
pankso@2824 3 PACKAGE="libparserutils"
pascal@15648 4 VERSION="0.1.1"
pankso@2824 5 CATEGORY="system-tools"
pankso@2824 6 SHORT_DESC="Various pieces of functionality that are useful for parsers."
pankso@2824 7 MAINTAINER="pankso@slitaz.org"
pascal@15482 8 LICENSE="MIT"
pankso@2824 9 WEB_SITE="http://www.netsurf-browser.org/projects/libparserutils/"
pascal@15648 10 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
pascal@15648 11 WGET_URL="http://download.netsurf-browser.org/libs/releases/$TARBALL"
pankso@16251 12 HOST_ARCH="i486 arm"
pascal@15112 13
pascal@24447 14 # What is the latest version available today?
pascal@24447 15 current_version()
pascal@24447 16 {
pascal@24447 17 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24447 18 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\)-src.*|\\1|" | sort -Vr | sed q
pascal@24447 19 }
pascal@24447 20
pankso@2824 21 # Rules to configure and make the package.
pankso@2824 22 compile_rules()
pankso@2824 23 {
pascal@15112 24 make install DESTDIR=$DESTDIR PREFIX=/usr &&
pascal@15112 25 make install COMPONENT_TYPE=lib-shared DESTDIR=$DESTDIR PREFIX=/usr
pankso@2824 26 }
pankso@16251 27
pankso@2824 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2824 29 genpkg_rules()
pankso@2824 30 {
pankso@2824 31 mkdir -p $fs/usr/lib
pascal@15112 32 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@2824 33 }