2010-11-10 14:45:53 +00:00
|
|
|
# Template file for 'btrfs-progs'
|
|
|
|
pkgname=btrfs-progs
|
2013-02-11 12:27:47 +00:00
|
|
|
_distver=0.20-rc1.1
|
|
|
|
version=0.20rc1.1
|
2012-10-22 12:31:55 +00:00
|
|
|
revision=1
|
2013-02-11 12:27:47 +00:00
|
|
|
wrksrc="${pkgname}-${_distver}"
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="acl-devel libuuid-devel e2fsprogs-devel"
|
2013-02-11 12:27:47 +00:00
|
|
|
crossmakedepends="${makedepends}"
|
2010-11-10 14:45:53 +00:00
|
|
|
short_desc="Btrfs filesystem utilities"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
2012-05-11 03:49:23 +00:00
|
|
|
license="GPL-2"
|
2012-10-22 12:31:55 +00:00
|
|
|
homepage="http://btrfs.wiki.kernel.org/"
|
2013-02-11 12:27:47 +00:00
|
|
|
distfiles="ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${_distver}.tar.xz"
|
|
|
|
checksum=6d13ffd167ee1cc1a8844f7c656db0472730a3bb8fa561e9361957b1ec502f2b
|
2010-11-10 14:45:53 +00:00
|
|
|
|
2012-05-11 03:49:23 +00:00
|
|
|
do_build() {
|
2013-02-11 12:27:47 +00:00
|
|
|
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
|
|
|
CC="$XBPS_CROSS_TRIPLET-gcc"
|
|
|
|
else
|
|
|
|
CC="gcc"
|
|
|
|
fi
|
|
|
|
make CC="$CC" CFLAGS="$CFLAGS" ${makejobs}
|
2012-05-11 03:49:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
2013-02-11 12:27:47 +00:00
|
|
|
make prefix=${DESTDIR}/usr mandir=${DESTDIR}/usr/share/man install
|
2012-05-11 03:49:23 +00:00
|
|
|
}
|