27 lines
755 B
Text
27 lines
755 B
Text
# Template file for 'btrfs-progs'
|
|
pkgname=btrfs-progs
|
|
_distver=0.20-rc1.1
|
|
version=0.20rc1.1
|
|
revision=1
|
|
wrksrc="${pkgname}-${_distver}"
|
|
makedepends="acl-devel libuuid-devel e2fsprogs-devel"
|
|
crossmakedepends="${makedepends}"
|
|
short_desc="Btrfs filesystem utilities"
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
license="GPL-2"
|
|
homepage="http://btrfs.wiki.kernel.org/"
|
|
distfiles="ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${_distver}.tar.xz"
|
|
checksum=6d13ffd167ee1cc1a8844f7c656db0472730a3bb8fa561e9361957b1ec502f2b
|
|
|
|
do_build() {
|
|
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
|
CC="$XBPS_CROSS_TRIPLET-gcc"
|
|
else
|
|
CC="gcc"
|
|
fi
|
|
make CC="$CC" CFLAGS="$CFLAGS" ${makejobs}
|
|
}
|
|
|
|
do_install() {
|
|
make prefix=${DESTDIR}/usr mandir=${DESTDIR}/usr/share/man install
|
|
}
|