wok view f2fs-tools/receipt @ rev 25609

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 20 14:03:05 2023 +0000 (16 months ago)
parents d8c511e24c20
children
line source
1 # SliTaz package receipt.
3 PACKAGE="f2fs-tools"
4 VERSION="1.10.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Userland tools for the f2fs filesystem."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://git.kernel.org/cgit/linux/kernel/git/jaegeuk/f2fs-tools.git"
11 WGET_URL="git|git://git.kernel.org/pub/scm/linux/kernel/git/jaegeuk/f2fs-tools.git"
13 DEPENDS="util-linux-uuid"
14 BUILD_DEPENDS="git autoconf automake libtool util-linux-uuid-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/[^a-z][0-9].tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 sh ./autogen.sh
27 ./configure --prefix=/usr \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/lib $fs/usr/
38 cp -a $install/usr/sbin $fs/usr/
39 }