wok view xfsprogs/receipt @ rev 23883

Add duperemove
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jul 14 19:24:33 2020 +0000 (2020-07-14)
parents fca6217790af
children 71360a13cd94
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 # Rules to configure and make the package.
19 compile_rules()
20 {
21 sed -i 's/--best -c/-9 -c/' \
22 include/buildmacros
23 sed -i -e 's/lt_shell_append=yes/lt_shell_append=no/' \
24 -e 's/DDEBUG/DNODEBUG/' \
25 configure
27 ./configure \
28 $CONFIGURE_ARGS || return 1
29 sed -i 's/--best/-9/' doc/Makefile Makefile
30 make &&
31 make DIST_ROOT=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
39 cp -a $install/usr/sbin $fs/usr
40 cp -a $install/lib $fs
41 cp -a $install/sbin $fs
42 }