void-packages/srcpkgs/nilfs-utils/template

40 lines
1.1 KiB
Bash

# Template file for 'nilfs-utils'
pkgname=nilfs-utils
version=2.2.3
revision=1
build_style=gnu-configure
configure_args="--sbindir=/usr/sbin --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://nilfs.sourceforge.net/download/$pkgname-$version.tar.bz2"
checksum=3b30fb1ac6c1fb09986ef8df046a108e4460111ba7b878b7cbdc99d5b268479f
pre_configure() {
autoreconf -fi
}
post_install() {
mv ${DESTDIR}/sbin ${DESTDIR}/usr
}
libnilfs_package() {
short_desc="NILFS userspace runtime libraries"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
nilfs-utils-devel_package() {
depends="${makedepends} libnilfs>=${version}_${revision}"
short_desc="NILFS userspace development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}