void-packages/srcpkgs/btrfs-progs/template

37 lines
1 KiB
Text
Raw Normal View History

# Template file for 'btrfs-progs'
pkgname=btrfs-progs
_distver=0.19
_snapver=20120328
version="${_snapver}.${_distver}"
wrksrc="${pkgname}-${_distver}.${_snapver}"
revision=1
homepage="http://btrfs.wiki.kernel.org/"
distfiles="ftp://ftp.archlinux.org/other/$pkgname/$pkgname-${_distver}.${_snapver}.tar.xz"
makedepends="acl-devel libuuid-devel e2fsprogs-devel"
short_desc="Btrfs filesystem utilities"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
checksum=0c6dbd3df81429e7489b74d5780ffdbe1e46495d155123a7f13dff0d491570e2
long_desc="
This packages provides the userspace utilities required to
create/format/manipulate Btrfs filesystems."
do_build() {
make CFLAGS="${CFLAGS}" ${makejobs}
}
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
}