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