wok annotate littleutils/receipt @ rev 25276
updated reiser4progs and reiser4progs-dev (2.0.0 -> 2.0.5)
author | Hans-G?nter Theisgen |
---|---|
date | Mon Jul 18 14:19:27 2022 +0100 (2022-07-18) |
parents | 77985554a151 |
children | ad0bc3efbf37 |
rev | line source |
---|---|
pascal@17411 | 1 # SliTaz package receipt. |
pascal@17411 | 2 |
pascal@17411 | 3 PACKAGE="littleutils" |
Hans-G?nter@23138 | 4 VERSION="1.0.43" |
pascal@17411 | 5 CATEGORY="misc" |
pascal@17411 | 6 SHORT_DESC="Image optimizers, archive recompressors, file property tools ..." |
pascal@17411 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17411 | 8 LICENSE="GPL3" |
Hans-G?nter@21368 | 9 WEB_SITE="https://sourceforge.net/projects/littleutils/" |
Hans-G?nter@21368 | 10 |
pascal@17411 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@17411 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@17411 | 13 |
pascal@17411 | 14 DEPENDS="bash perl" |
pascal@17411 | 15 |
pascal@24411 | 16 # What is the latest version available today? |
pascal@24411 | 17 current_version() |
pascal@24411 | 18 { |
pascal@24411 | 19 wget -O - https://sourceforge.net/projects/littleutils/files/littleutils-source/ 2>/dev/null | \ |
pascal@24411 | 20 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24411 | 21 sed '/scope="row/!d;s|.*/littleutils-source/||;s|/.*||;q' |
pascal@24411 | 22 } |
pascal@24411 | 23 |
pascal@17411 | 24 # Rules to configure and make the package. |
pascal@17411 | 25 compile_rules() |
pascal@17411 | 26 { |
pascal@17411 | 27 sed -i '/stdalign/d' littleutils/*.c |
Hans-G?nter@21368 | 28 |
Hans-G?nter@21368 | 29 ./configure \ |
Hans-G?nter@21368 | 30 --prefix=/usr \ |
Hans-G?nter@21368 | 31 --sysconfdir=/etc \ |
pascal@17411 | 32 $CONFIGURE_ARGS && |
Hans-G?nter@21368 | 33 make -j 1 && |
pascal@17411 | 34 make DESTDIR=$DESTDIR install |
pascal@17411 | 35 } |
pascal@17411 | 36 |
pascal@17411 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17411 | 38 genpkg_rules() |
pascal@17411 | 39 { |
pascal@17411 | 40 mkdir -p $fs/usr |
Hans-G?nter@21368 | 41 |
Hans-G?nter@23138 | 42 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@23138 | 43 cp -a $install/usr/lib $fs/usr |
pascal@17411 | 44 } |