wok view icoutils/receipt @ rev 25322

cpige: remove -static
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Jul 22 07:58:08 2022 +0000 (2022-07-22)
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 }