btrfs-progs: update to 0.20rc1; cross build support.
This commit is contained in:
parent
a847788472
commit
59768ec137
1 changed files with 13 additions and 15 deletions
|
@ -1,29 +1,27 @@
|
||||||
# Template file for 'btrfs-progs'
|
# Template file for 'btrfs-progs'
|
||||||
pkgname=btrfs-progs
|
pkgname=btrfs-progs
|
||||||
_distver=0.19
|
_distver=0.20-rc1.1
|
||||||
_snapver=20121005
|
version=0.20rc1.1
|
||||||
version="${_snapver}.${_distver}"
|
|
||||||
wrksrc="${pkgname}-${_distver}.${_snapver}"
|
|
||||||
revision=1
|
revision=1
|
||||||
|
wrksrc="${pkgname}-${_distver}"
|
||||||
makedepends="acl-devel libuuid-devel e2fsprogs-devel"
|
makedepends="acl-devel libuuid-devel e2fsprogs-devel"
|
||||||
|
crossmakedepends="${makedepends}"
|
||||||
short_desc="Btrfs filesystem utilities"
|
short_desc="Btrfs filesystem utilities"
|
||||||
maintainer="Juan RP <xtraeme@gmail.com>"
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
||||||
license="GPL-2"
|
license="GPL-2"
|
||||||
homepage="http://btrfs.wiki.kernel.org/"
|
homepage="http://btrfs.wiki.kernel.org/"
|
||||||
distfiles="ftp://ftp.archlinux.org/other/$pkgname/$pkgname-${_distver}.${_snapver}.tar.xz"
|
distfiles="ftp://ftp.archlinux.org/other/${pkgname}/${pkgname}-${_distver}.tar.xz"
|
||||||
checksum=7aa5c043f6695c580ba7457d41a4b9cfb7f55a72ddd4d27064da7b24b1ef8ece
|
checksum=6d13ffd167ee1cc1a8844f7c656db0472730a3bb8fa561e9361957b1ec502f2b
|
||||||
long_desc="
|
|
||||||
This packages provides the userspace utilities required to
|
|
||||||
create/format/manipulate Btrfs filesystems."
|
|
||||||
|
|
||||||
do_build() {
|
do_build() {
|
||||||
make CFLAGS="${CFLAGS}" ${makejobs}
|
if [ -n "$XBPS_CROSS_TRIPLET" ]; then
|
||||||
|
CC="$XBPS_CROSS_TRIPLET-gcc"
|
||||||
|
else
|
||||||
|
CC="gcc"
|
||||||
|
fi
|
||||||
|
make CC="$CC" CFLAGS="$CFLAGS" ${makejobs}
|
||||||
}
|
}
|
||||||
|
|
||||||
do_install() {
|
do_install() {
|
||||||
make prefix=${DESTDIR}/usr install
|
make prefix=${DESTDIR}/usr mandir=${DESTDIR}/usr/share/man install
|
||||||
|
|
||||||
# fix manpage location.
|
|
||||||
vmkdir usr/share
|
|
||||||
vmove usr/man usr/share
|
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue