From 7edee7c87f80f22725214ec6a8e542de37797f39 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 9 Nov 2010 23:48:44 +0100 Subject: [PATCH] xfsprogs: update to 3.1.3. --- srcpkgs/xfsprogs/template | 25 +++++++++++++++++-------- 1 file changed, 17 insertions(+), 8 deletions(-) diff --git a/srcpkgs/xfsprogs/template b/srcpkgs/xfsprogs/template index 05342fcc455..6f69fdf118a 100644 --- a/srcpkgs/xfsprogs/template +++ b/srcpkgs/xfsprogs/template @@ -1,14 +1,11 @@ # Template file for 'xfsprogs' pkgname=xfsprogs -version=3.1.1 +version=3.1.3 distfiles="ftp://oss.sgi.com/projects/xfs/cmd_tars/$pkgname-$version.tar.gz" -build_style=gnu_configure -configure_args="--sbindir=/sbin --enable-readline=yes --enable-lib64=no" -make_install_target="DIST_ROOT=$XBPS_DESTDIR/$pkgname-$version - install install-dev" +build_style=custom-install short_desc="Utilities for managing the XFS filesystem" maintainer="Juan RP " -checksum=bc189022f720019d9e4aa9856772a4f89afa1cc4022f872b759fe001a8dd1e36 +checksum=fad032cc65be3e6a384f2835211e1caf6bb67b4185bf660910753d42b5795fd5 long_desc=" A set of commands to use the XFS filesystem, including mkfs.xfs. @@ -18,20 +15,32 @@ long_desc=" based, and makes extensive use of Btrees (directories, extents, free space) to aid both performance and scalability." +disable_parallel_build=yes subpackages="$pkgname-libs $pkgname-devel" + Add_dependency run glibc Add_dependency run libuuid Add_dependency run libblkid Add_dependency run readline Add_dependency run xfsprogs-libs + Add_dependency build gawk Add_dependency build gettext Add_dependency build libuuid-devel Add_dependency build libblkid-devel Add_dependency build readline-devel -pre_configure() +do_build() { - export OPTIMIZER="-O1" export DEBUG=-DNDEBUG + ./configure --enable-readline=yes \ + --enable-blkid=yes \ + --enable-lib64=no && \ + make || return 1 +} + +do_install() +{ + cd ${wrksrc} && \ + make DIST_ROOT=${DESTDIR} install install-dev || return 1 }