wok annotate f2fs-tools/receipt @ rev 24984

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