wok-next view xfsdump/receipt @ rev 20010

Up rsnapshot (1.4.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 21 18:08:51 2017 +0200 (2017-10-21)
parents
children 10df65db91ad
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xfsdump"
4 VERSION="3.1.6"
5 CATEGORY="system-tools"
6 SHORT_DESC="XFS commands and utilities"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="http://oss.sgi.com/projects/xfs/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="ftp://oss.sgi.com/projects/xfs/cmd_tars/$TARBALL"
14 BUILD_DEPENDS="libtool gettext util-linux-uuid-dev xfsprogs-dev"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 rm /bin/rpm # busybox rpm is useless here
21 ./configure \
22 CFLAGS=-D_FILE_OFFSET_BITS=64 \
23 $CONFIGURE_ARGS &&
24 make && make install
26 # change absolute symlinks to relative ones
27 ln -sf ../../sbin/xfsdump $install/usr/sbin/xfsdump
28 ln -sf ../../sbin/xfsrestore $install/usr/sbin/xfsrestore
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 copy @std
35 DEPENDS="attr ncurses util-linux-uuid xfsprogs"
36 }