wok-next view xfsdump/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 0e8dadf052b9 |
children | 9102678083fb |
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 compile_rules() {
17 rm /bin/rpm # busybox rpm is useless here
19 ./configure \
20 CFLAGS=-D_FILE_OFFSET_BITS=64 \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make && make install
25 # change absolute symlinks to relative ones
26 ln -sf ../../sbin/xfsdump $install/usr/sbin/xfsdump
27 ln -sf ../../sbin/xfsrestore $install/usr/sbin/xfsrestore
28 }
30 genpkg_rules() {
31 copy @std
32 DEPENDS="attr ncurses util-linux-uuid xfsprogs"
33 }