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