wok view littleutils/receipt @ rev 25460

Update sourceforge.net web_sites with https://
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 08:10:35 2022 +0000 (2022-09-28)
parents 65d7d867e0c1
children 69e1e705f038
line source
1 # SliTaz package receipt.
3 PACKAGE="littleutils"
4 VERSION="1.0.43"
5 CATEGORY="misc"
6 SHORT_DESC="Image optimizers, archive recompressors, file property tools ..."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://sourceforge.net/projects/littleutils"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="bash perl"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - https://sourceforge.net/projects/littleutils/files/littleutils-source/ 2>/dev/null | \
20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \
21 sed '/scope="row/!d;s|.*/littleutils-source/||;s|/.*||;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i '/stdalign/d' littleutils/*.c
29 ./configure \
30 --prefix=/usr \
31 --sysconfdir=/etc \
32 $CONFIGURE_ARGS &&
33 make -j 1 &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib $fs/usr
44 }