2010-11-10 14:45:53 +00:00
|
|
|
# Template file for 'btrfs-progs'
|
|
|
|
pkgname=btrfs-progs
|
2012-05-11 03:49:23 +00:00
|
|
|
_distver=0.19
|
|
|
|
_snapver=20120328
|
|
|
|
version="${_snapver}.${_distver}"
|
|
|
|
wrksrc="${pkgname}-${_distver}.${_snapver}"
|
2012-05-11 08:10:50 +00:00
|
|
|
revision=1
|
2012-05-11 03:49:23 +00:00
|
|
|
homepage="http://btrfs.wiki.kernel.org/"
|
|
|
|
distfiles="ftp://ftp.archlinux.org/other/$pkgname/$pkgname-${_distver}.${_snapver}.tar.xz"
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="acl-devel libuuid-devel e2fsprogs-devel"
|
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"
|
|
|
|
checksum=0c6dbd3df81429e7489b74d5780ffdbe1e46495d155123a7f13dff0d491570e2
|
2010-11-10 14:45:53 +00:00
|
|
|
long_desc="
|
|
|
|
This packages provides the userspace utilities required to
|
|
|
|
create/format/manipulate Btrfs filesystems."
|
|
|
|
|
2012-05-11 03:49:23 +00:00
|
|
|
|
|
|
|
do_build() {
|
2012-05-11 08:10:50 +00:00
|
|
|
make CFLAGS="${CFLAGS}" ${makejobs}
|
2012-05-11 03:49:23 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
make prefix=${DESTDIR}/usr install
|
|
|
|
|
|
|
|
# fix manpage location.
|
|
|
|
vmkdir usr/share
|
|
|
|
vmove usr/man usr/share
|
|
|
|
|
|
|
|
# Install initramfs-tools stuff.
|
|
|
|
vinstall ${FILESDIR}/btrfs.initramfs-hook \
|
|
|
|
755 usr/share/initramfs-tools/hooks btrfs
|
|
|
|
vinstall ${FILESDIR}/btrfs.initramfs-local-top \
|
|
|
|
755 usr/share/initramfs-tools/scripts/local-top btrfs
|
|
|
|
}
|