wok annotate reiserfsprogs/receipt @ rev 24988

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