# Template file for 'zerofree'
pkgname=zerofree
version=1.0.3
revision=2
short_desc="A tool to zero free blocks in an ext2 filesystem"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://intgat.tigress.co.uk/rmy/uml/index.html"
distfiles="http://intgat.tigress.co.uk/rmy/uml/${pkgname}-${version}.tgz"
checksum=3acfda860be0f0ddcb5c982ff3b4475b1ee8cc35a90ae2a910e93261dbe0ccf6
long_desc="
 zerofree is a tool to zero free blocks in an ext2 filesystems; ext3 and
 ext4 filesystems are also supported."

makedepends="e2fsprogs-devel"

do_build() {
	make
}

do_install() {
	vinstall zerofree 755 usr/sbin
}

zerofree_package() {
	pkg_install() {
		vmove usr
	}
}
