void-packages/srcpkgs/nilfs-utils/template

48 lines
1.2 KiB
Text

# Template file for 'nilfs-utils'
pkgname=nilfs-utils
version=2.1.4
revision=3
build_style=gnu-configure
configure_args="--enable-libmount"
makedepends="libuuid-devel libmount-devel"
short_desc="A log-structured file system for Linux - userspace utils"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2, LGPL-2.1"
homepage="http://www.nilfs.org"
distfiles="$homepage/download/$pkgname-$version.tar.bz2"
checksum=8e4e7418a2e7eeb19886ec731f9a0799fd03b09a21a920e1dad8e3a9c8e6c13d
long_desc="
NILFS is a log-structured file system supporting versioning of the entire
file system and continuous snapshotting which allows users to even restore
files mistakenly overwritten or destroyed just a few seconds ago.
This package contains the required userspace utilities."
post_install() {
vmkdir usr/sbin
vmove "sbin/*" usr/sbin
}
libnilfs_package() {
short_desc="NILFS userspace runtime libraries"
pkg_install() {
vmove "usr/lib/*.so*"
}
}
nilfs-utils-devel_package() {
depends="libuuid-devel libmount-devel libnilfs>=$version"
short_desc="NILFS userspace development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
}
}
nilfs-utils_package() {
conf_files="/etc/nilfs_cleanerd.conf"
pkg_install() {
vmove etc
vmove usr
}
}