wok-next annotate xfsdump/receipt @ rev 20766
childsplay: up (3.3); tiny edits.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 06 04:36:32 2018 +0300 (2018-06-06) |
parents | 0e8dadf052b9 |
children | 9102678083fb |
rev | line source |
---|---|
al@19816 | 1 # SliTaz package receipt v2. |
al@19816 | 2 |
al@19816 | 3 PACKAGE="xfsdump" |
al@19816 | 4 VERSION="3.1.6" |
al@19816 | 5 CATEGORY="system-tools" |
al@19816 | 6 SHORT_DESC="XFS commands and utilities" |
al@19816 | 7 MAINTAINER="al.bobylev@gmail.com" |
al@19816 | 8 LICENSE="GPL2" |
al@19816 | 9 WEB_SITE="http://oss.sgi.com/projects/xfs/" |
al@19816 | 10 |
al@19816 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@19816 | 12 WGET_URL="ftp://oss.sgi.com/projects/xfs/cmd_tars/$TARBALL" |
al@19816 | 13 |
al@19816 | 14 BUILD_DEPENDS="libtool gettext util-linux-uuid-dev xfsprogs-dev" |
al@19816 | 15 |
al@20604 | 16 compile_rules() { |
al@19816 | 17 rm /bin/rpm # busybox rpm is useless here |
al@19816 | 18 |
al@19816 | 19 ./configure \ |
al@19816 | 20 CFLAGS=-D_FILE_OFFSET_BITS=64 \ |
al@19816 | 21 $CONFIGURE_ARGS && |
al@20604 | 22 fix libtool && |
al@19816 | 23 make && make install |
al@19816 | 24 |
al@19816 | 25 # change absolute symlinks to relative ones |
al@19816 | 26 ln -sf ../../sbin/xfsdump $install/usr/sbin/xfsdump |
al@19816 | 27 ln -sf ../../sbin/xfsrestore $install/usr/sbin/xfsrestore |
al@19816 | 28 } |
al@19816 | 29 |
al@20604 | 30 genpkg_rules() { |
al@19816 | 31 copy @std |
al@19816 | 32 DEPENDS="attr ncurses util-linux-uuid xfsprogs" |
al@19816 | 33 } |