wok-6.x view reiser4progs/receipt @ rev 24414

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Feb 10 11:43:39 2022 +0000 (2022-02-10)
parents e919c5a2742d
children 579ba8e60043
line source
1 # SliTaz package receipt.
3 PACKAGE="reiser4progs"
4 VERSION="2.0.0"
5 CATEGORY="system-tools"
6 TAGS="filesystem reiserfs"
7 SHORT_DESC="Utilities for manipulating reiser4 file-systems."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="GPL2"
10 WEB_SITE="https://www.kernel.org/"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="$SF_MIRROR/reiser4/$TARBALL"
15 DEPENDS="libaal ncurses readline util-linux-uuid"
16 BUILD_DEPENDS="libaal libaal-dev ncurses-dev readline-dev
17 util-linux-uuid-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - https://mirrors.edge.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/ 2>/dev/null | \
23 sed '/v[0-9]/!d;/x/d;s|.*"v||;s|/.*||' | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 export LDFLAGS="$LDFLAGS -ltinfo"
31 ./configure \
32 --prefix=/usr \
33 --infodir=/usr/share/info \
34 --mandir=/usr/share/man \
35 $CONFIGURE_ARGS &&
36 make $MAKEFLAGS &&
37 make DESTDIR=$DESTDIR install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 mkdir -p $fs/usr/lib
45 cp -a $install/usr/sbin $fs/usr
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 }