summaryrefslogtreecommitdiffstats
path: root/xfsprogs/Pkgfile
blob: df7de72eee853127f538fd9d43433f84844285e2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
description="Filesystem utilities for XFS"
packager=""
maintainer="CRUX System Team, core-ports at crux dot nu"
url="http://oss.sgi.com/projects/xfs/"
depends=(util-linux-ng)

name=xfsprogs
version=3.1.4
release=1
source=(ftp://oss.sgi.com/projects/xfs/cmd_tars/xfsprogs-3.1.4.tar.gz)
build () 
{ 
    cd $name-$version;
    export DEBUG=-DNDEBUG;
    export OPTIMIZER=$CFLAGS;
    ./configure --prefix=/usr --mandir=/usr/man --disable-gettext;
    make;
    make DIST_ROOT=$PKG install install-dev;
    rm $PKG/lib/libhandle.{a,la,so};
    ln -sf ../../lib/libhandle.so.1.0.3 $PKG/usr/lib/libhandle.so;
    rm -r $PKG/usr/share
}