void-packages/srcpkgs/nilfs-utils/template
2019-10-06 23:12:27 +02:00

39 lines
1.1 KiB
Bash

# Template file for 'nilfs-utils'
pkgname=nilfs-utils
version=2.2.8
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="Log-structured file system for Linux - userspace utils"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-only, LGPL-2.1-only"
homepage="http://nilfs.sourceforge.net/"
distfiles="http://nilfs.sourceforge.net/download/$pkgname-$version.tar.bz2"
checksum=5a29f8f59db03edf8dd1e68dfd80ff4713e0aa184cfa83a6326ac8af93d9bda6
pre_configure() {
autoreconf -fi
}
post_install() {
mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/bin/
}
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"
}
}