wok view icoutils/receipt @ rev 25444

Up firefox-official (104.0)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 04 18:56:05 2022 +0000 (2022-09-04)
parents e2ece35b14a1
children
line source
1 # SliTaz package receipt.
3 PACKAGE="icoutils"
4 VERSION="0.32.3"
5 CATEGORY="misc"
6 SHORT_DESC="Microsoft Windows icon and cursor files convertion tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://www.nongnu.org/icoutils/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://savannah.nongnu.org/download/$PACKAGE/$TARBALL"
14 DEPENDS="libpng"
15 BUILD_DEPENDS="libpng-dev libpng"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - ${WGET_URL%/*} 2>/dev/null | \
21 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 ./configure \
28 --prefix=/usr \
29 --mandir=/usr/share/man \
30 $CONFIGURE_ARGS &&
31 make -j 1 &&
32 make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
39 cp -a $install/usr/bin $fs/usr
40 }