wok-stable view xfsprogs/receipt @ rev 1599
Add perl-dbi
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Oct 19 11:13:49 2008 +0000 (2008-10-19) |
parents | d07f9cd98bdc |
children | 74d9e193ac36 |
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 BUILD_DEPENDS="e2fsprogs-dev libtool"
9 TARBALL=${PACKAGE}_${VERSION}-1.tar.gz
10 WEB_SITE="http://oss.sgi.com/projects/xfs/"
11 WGET_URL="ftp://oss.sgi.com/projects/xfs/cmd_tars/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 mv $PACKAGE-2.9.8 $PACKAGE-$VERSION 2>/dev/null
17 cd $src
18 sed -i 's/--best -c/-9 -c/' include/buildmacros
19 ./configure \
20 --prefix=/usr \
21 --sbindir=/sbin \
22 --mandir=/usr/share/man \
23 $CONFIGURE_ARGS || return 1
24 sed -i 's/--best/-9/' doc/Makefile build/Makefile build/tar/Makefile
25 make &&
26 make DIST_ROOT=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/bin $fs/usr
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/sbin $fs
36 }