void-packages/srcpkgs/nilfs-utils/template
2014-04-14 12:58:37 +02:00

37 lines
1 KiB
Text

# Template file for 'nilfs-utils'
pkgname=nilfs-utils
version=2.2.0
revision=1
build_style=gnu-configure
configure_args="--sbindir=/usr/bin --enable-libmount"
make_install_args="sbindir=/usr/bin"
hostmakedepends="automake libtool"
makedepends="libuuid-devel libmount-devel"
conf_files="/etc/nilfs_cleanerd.conf"
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://nilfs.sourceforge.net/"
distfiles="http://www.nilfs.org/download/$pkgname-$version.tar.bz2"
checksum=59a60f34c66b741449e715162c0443b7d07ef2788ad6f0210f6c5461afc86ad1
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}_${revision}"
short_desc="NILFS userspace development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}