void-packages/srcpkgs/nilfs-utils/template
2013-08-26 22:02:00 +02:00

50 lines
1.4 KiB
Text

# Template file for 'nilfs-utils'
pkgname=nilfs-utils
version=2.1.5
revision=1
build_style=gnu-configure
configure_args="--sbindir=/usr/bin --enable-libmount
ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes"
make_install_args="sbindir=/usr/bin"
hostmakedepends="automake libtool"
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=ba9b2983f160a4af821a9552db8449a169fc6522c993fa895ab949db477d1331
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."
pre_configure() {
autoreconf -fi
}
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"
vmove "usr/lib/*.so"
}
}
nilfs-utils_package() {
conf_files="/etc/nilfs_cleanerd.conf"
pkg_install() {
vmove all
}
}