wok view reiserfsprogs/receipt @ rev 25189

opusfile-dev: force version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 12 18:41:58 2022 +0000 (2022-07-12)
parents 023de3f0d078
children
line source
1 # SliTaz package receipt.
3 PACKAGE="reiserfsprogs"
4 VERSION="3.6.27"
5 CATEGORY="system-tools"
6 SHORT_DESC="ReiserFS tools"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="https://fossies.org/linux/misc/"
11 WGET_URL="http://cdn.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/v$VERSION/$TARBALL"
12 TAGS="filesystem reiserfs"
14 DEPENDS="linux-reiserfs util-linux-uuid libcomerr"
15 BUILD_DEPENDS="libcomerr-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - http://cdn.kernel.org/pub/linux/kernel/people/jeffm/reiserfsprogs/ 2>/dev/null | \
21 sed '/href="v[0-9]/!d;s|.*"v||;s|/.*||;/x/d' | sort -Vr | sed q
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 sed -i 's|<com_err.h>|<et/com_err.h>|' */*.?
28 ./configure --prefix=/usr --sbindir=/sbin \
29 --mandir=/usr/share/man $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs
38 cp -a $install/sbin $fs/
39 }