wok-current annotate libnsgif/receipt @ rev 24830
busybox-1.31.1: inserted CONFIG_FEATURE_SYSLOG_INFO=y in config and config-ssfs
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 24 06:49:50 2022 +0100 (2022-03-24) |
parents | b269c5c2be2d |
children |
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" |
pankso@4197 | 10 WEB_SITE="http://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 } |