wok view xfsprogs/receipt @ rev 5681

add ypbind-mt
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jun 03 10:50:27 2010 +0200 (2010-06-03)
parents 7ae8a3f4e6a0
children 72e89ad0efc8
line source
1 # SliTaz package receipt.
3 PACKAGE="xfsprogs"
4 VERSION="2.10.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Utilities for making, mounting, and manipulating XFS file-system"
7 MAINTAINER="patel@math.uga.edu"
8 DEPENDS="e2fsprogs"
9 BUILD_DEPENDS="e2fsprogs-dev libtool"
10 TARBALL=${PACKAGE}_${VERSION}-1.tar.gz
11 WEB_SITE="http://oss.sgi.com/projects/xfs/"
12 WGET_URL="ftp://oss.sgi.com/projects/xfs/cmd_tars/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 mv $PACKAGE-2.9.8 $PACKAGE-$VERSION 2>/dev/null
18 cd $src
19 sed -i 's/--best -c/-9 -c/' include/buildmacros
20 ./configure \
21 --prefix=/usr \
22 --sbindir=/sbin \
23 --mandir=/usr/share/man \
24 $CONFIGURE_ARGS || return 1
25 sed -i 's/--best/-9/' doc/Makefile build/Makefile build/tar/Makefile
26 make &&
27 make DIST_ROOT=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/lib
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/sbin $fs
37 }