wok annotate libnsgif/receipt @ rev 25645

Up libssh2 (1.11.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jan 17 10:58:45 2024 +0000 (10 months ago)
parents ede1d184d5c5
children eaa4b9eff943
rev   line source
pankso@2826 1 # SliTaz package receipt.
pankso@2826 2
pankso@2826 3 PACKAGE="libnsgif"
pankso@16251 4 VERSION="0.0.3"
pankso@2826 5 CATEGORY="system-tools"
pankso@2826 6 SHORT_DESC="Libnsgif is a decoding library for the GIF image file format."
pankso@2826 7 MAINTAINER="pankso@slitaz.org"
pascal@15482 8 LICENSE="MIT"
pankso@16251 9 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
pascal@25645 10 WEB_SITE="https://www.netsurf-browser.org/projects/libnsgif/"
pankso@16251 11 WGET_URL="http://download.netsurf-browser.org/libs/releases/$TARBALL"
pankso@16251 12 HOST_ARCH="i486 arm"
pankso@9773 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@2826 21 # Rules to configure and make the package.
pankso@2826 22 compile_rules()
pankso@2826 23 {
pankso@9773 24 make install DESTDIR=$DESTDIR PREFIX=/usr &&
pankso@9773 25 make install COMPONENT_TYPE=lib-shared DESTDIR=$DESTDIR PREFIX=/usr
pankso@2826 26 }
pankso@4197 27
pankso@2826 28 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@2826 29 genpkg_rules()
pankso@2826 30 {
pankso@2826 31 mkdir -p $fs/usr/lib
pascal@14714 32 cp -a $install/usr/lib/*.so* $fs/usr/lib
pankso@2826 33 }