void-packages/srcpkgs/nilfs-utils/template

37 lines
1023 B
Bash

# Template file for 'nilfs-utils'
pkgname=nilfs-utils
version=2.2.9
revision=1
build_style=gnu-configure
configure_args="--without-selinux"
make_install_args="sbindir=/usr/bin"
makedepends="libblkid-devel libmount-devel libuuid-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="https://nilfs.sourceforge.io/"
distfiles="https://nilfs.sourceforge.io/download/${pkgname}-${version}.tar.bz2"
checksum=5df63998c2084182c8c608a29b47b1771b825b4b5fa7916c12cca2fcb7577a97
post_install() {
mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/bin/
}
libnilfs_package() {
short_desc="${short_desc/utils/libraries}"
pkg_install() {
vmove "usr/lib/*.so.*"
}
}
nilfs-utils-devel_package() {
depends="${makedepends} libnilfs>=${version}_${revision}"
short_desc="${short_desc/utils/development files}"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
}
}