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