wok-current annotate xfsprogs/receipt @ rev 25155
updated proxytunnel (1.9.0 -> 1.10)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Jun 30 15:35:33 2022 +0100 (2022-06-30) |
parents | bb9c7e76505b |
children |
rev | line source |
---|---|
pankso@1009 | 1 # SliTaz package receipt. |
pankso@1009 | 2 |
pankso@1009 | 3 PACKAGE="xfsprogs" |
Hans-G?nter@23749 | 4 VERSION="5.6.0" |
pankso@1009 | 5 CATEGORY="system-tools" |
Hans-G?nter@22161 | 6 SHORT_DESC="Utilities for making, mounting, and manipulating XFS file-systems." |
pankso@1009 | 7 MAINTAINER="patel@math.uga.edu" |
pascal@15105 | 8 LICENSE="GPL3" |
Hans-G?nter@22161 | 9 WEB_SITE="https://xfs.wiki.kernel.org/" |
Hans-G?nter@22161 | 10 |
pascal@20195 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
pascal@20195 | 12 WGET_URL="https://www.kernel.org/pub/linux/utils/fs/xfs/xfsprogs/$TARBALL" |
pankso@1009 | 13 |
pascal@15104 | 14 DEPENDS="e2fsprogs" |
Hans-G?nter@22161 | 15 BUILD_DEPENDS="e2fsprogs-dev gettext libdevmapper-dev libtool |
Hans-G?nter@22161 | 16 util-linux-blkid-dev util-linux-uuid-dev" |
pascal@15104 | 17 |
pascal@24336 | 18 # What is the latest version available today? |
pascal@24336 | 19 current_version() |
pascal@24336 | 20 { |
pascal@24336 | 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24336 | 22 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24336 | 23 } |
pascal@24336 | 24 |
pankso@1009 | 25 # Rules to configure and make the package. |
pankso@1009 | 26 compile_rules() |
pankso@1009 | 27 { |
Hans-G?nter@23749 | 28 sed -i 's/--best -c/-9 -c/' \ |
Hans-G?nter@23749 | 29 include/buildmacros |
Hans-G?nter@23749 | 30 sed -i -e 's/lt_shell_append=yes/lt_shell_append=no/' \ |
Hans-G?nter@23749 | 31 -e 's/DDEBUG/DNODEBUG/' \ |
Hans-G?nter@23749 | 32 configure |
Hans-G?nter@22161 | 33 |
Hans-G?nter@22161 | 34 ./configure \ |
pascal@1541 | 35 $CONFIGURE_ARGS || return 1 |
slaxemulator@11125 | 36 sed -i 's/--best/-9/' doc/Makefile Makefile |
pascal@1500 | 37 make && |
slaxemulator@11125 | 38 make DIST_ROOT=$DESTDIR install |
slaxemulator@7230 | 39 } |
pankso@1009 | 40 |
pankso@1009 | 41 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@1009 | 42 genpkg_rules() |
pankso@1009 | 43 { |
pankso@1009 | 44 mkdir -p $fs/usr/lib |
Hans-G?nter@22161 | 45 |
Hans-G?nter@22161 | 46 cp -a $install/usr/sbin $fs/usr |
Hans-G?nter@22161 | 47 cp -a $install/lib $fs |
Hans-G?nter@22161 | 48 cp -a $install/sbin $fs |
pankso@1009 | 49 } |