aboutsummaryrefslogblamecommitdiffstats
path: root/main/xfsprogs/APKBUILD
blob: 83749d63e7981b732d8d239519486ebdc365c459 (plain) (tree)
1
2
3
4
5
6
7
8
9

                                                   
            
        



                                      
                                

                                                                         

         



                                    
                                                    
 
        

                       








                                                            
                                        



                       

                                                        
                                                                 
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=xfsprogs
pkgver=3.1.1
pkgrel=1
pkgdesc="XFS filesystem utilities"
url="http://oss.sgi.com/projects/xfs/"
license="LGPL"
depends="e2fsprogs"
makedepends="e2fsprogs-dev bash"
subpackages="$pkgname-dev $pkgname-doc"
source="ftp://oss.sgi.com/projects/xfs/cmd_tars/${pkgname}-$pkgver.tar.gz
	"

_builddir="$srcdir"/$pkgname-$pkgver

prepare() {
	cd "$_builddir"
	sed -i -e 's/--best//' Makefile doc/Makefile
}
	
build() {
	cd "$_builddir"
	export DEBUG=-DNDEBUG
	export OPTIMIZER="$CFLAGS"

	ac_cv_header_aio_h=yes ac_cv_lib_rt_lio_listio=yes \
	./configure --prefix=/usr \
		--sbindir=/sbin \
		--libexecdir=/usr/lib \
		--enable-gettext=no

	make SHELL=/bin/bash || return 1
}

package() {
	cd "$_builddir"
	make -j1 DIST_ROOT="$pkgdir" install install-dev
}
md5sums="c2308b46ee707597ac50aae418d321b8  xfsprogs-3.1.1.tar.gz"