wok-6.x annotate xfsprogs/receipt @ rev 18718

Up: tazpkg(890), cookutils(788)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Dec 17 15:58:11 2015 +0200 (2015-12-17)
parents 52c9187f5ecb
children 0e6bb1dcdc15
rev   line source
pankso@1009 1 # SliTaz package receipt.
pankso@1009 2
pankso@1009 3 PACKAGE="xfsprogs"
devl547@17642 4 VERSION="3.2.2"
pankso@1009 5 CATEGORY="system-tools"
pankso@1009 6 SHORT_DESC="Utilities for making, mounting, and manipulating XFS file-system"
pankso@1009 7 MAINTAINER="patel@math.uga.edu"
pascal@15105 8 LICENSE="GPL3"
slaxemulator@7230 9 TARBALL=${PACKAGE}-${VERSION}.tar.gz
pankso@1009 10 WEB_SITE="http://oss.sgi.com/projects/xfs/"
pankso@1009 11 WGET_URL="ftp://oss.sgi.com/projects/xfs/cmd_tars/$TARBALL"
pankso@1009 12
pascal@15104 13 DEPENDS="e2fsprogs"
pascal@15104 14 BUILD_DEPENDS="e2fsprogs-dev libtool gettext util-linux-blkid-dev util-linux-uuid util-linux-uuid-dev"
pascal@15104 15
pankso@1009 16 # Rules to configure and make the package.
pankso@1009 17 compile_rules()
pankso@1009 18 {
pankso@1009 19 cd $src
pascal@1500 20 sed -i 's/--best -c/-9 -c/' include/buildmacros
pascal@9345 21 sed -i -e 's/lt_shell_append=yes/lt_shell_append=no/' \
pascal@9345 22 -e 's/DDEBUG/DNODEBUG/' configure
pankso@1009 23 ./configure \
pascal@1541 24 $CONFIGURE_ARGS || return 1
slaxemulator@11125 25 sed -i 's/--best/-9/' doc/Makefile Makefile
pascal@1500 26 make &&
slaxemulator@11125 27 make DIST_ROOT=$DESTDIR install
slaxemulator@7230 28 }
pankso@1009 29
pankso@1009 30 # Rules to gen a SliTaz package suitable for Tazpkg.
pankso@1009 31 genpkg_rules()
pankso@1009 32 {
pankso@1009 33 mkdir -p $fs/usr/lib
pascal@15104 34 cp -a $install/usr/sbin $fs/usr
pascal@15104 35 cp -a $install/lib $fs
pascal@15104 36 cp -a $install/sbin $fs
pankso@1009 37 }