wok view nilfs-utils/receipt @ rev 25600

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 15:14:43 2023 +0000 (10 months ago)
parents 5ea0ce1cecc0
children
line source
1 # SliTaz package receipt.
3 PACKAGE="nilfs-utils"
4 VERSION="2.2.8"
5 CATEGORY="system-tools"
6 SHORT_DESC="NILFS Filesystem user space tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 WEB_SITE="https://github.com/nilfs-dev/nilfs-utils"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
14 DEPENDS="util-linux-blkid util-linux-mount util-linux-uuid"
15 BUILD_DEPENDS="autoconf automake libtool util-linux-blkid-dev util-linux-mount-dev
16 util-linux-uuid-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
22 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./autogen.sh &&
29 ./configure \
30 --prefix=/usr \
31 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
41 cp -a $install/etc $fs
42 cp -a $install/sbin $fs
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/sbin $fs/usr
45 cp -a $install/usr/lib/*.so* $fs/usr/lib
46 }