40 lines
1.2 KiB
Bash
40 lines
1.2 KiB
Bash
# Template file for 'nilfs-utils'
|
|
pkgname=nilfs-utils
|
|
version=2.3.1
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--without-selinux --with-libmount --enable-usrmerge=bin --enable-static"
|
|
hostmakedepends="autoconf automake libtool pkg-config"
|
|
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"
|
|
homepage="https://nilfs.sourceforge.io/"
|
|
changelog="https://raw.githubusercontent.com/nilfs-dev/nilfs-utils/refs/heads/master/ChangeLog"
|
|
distfiles="https://github.com/nilfs-dev/nilfs-utils/archive/refs/tags/v${version}.tar.gz"
|
|
checksum=f4488f2978b3054fd97f87d206032cbf376d98479759d2855b57bc24a8d8efb9
|
|
|
|
pre_configure() {
|
|
./autogen.sh
|
|
}
|
|
|
|
libnilfs_package() {
|
|
short_desc="${short_desc/utils/libraries}"
|
|
license="LGPL-2.1-only"
|
|
pkg_install() {
|
|
vmove "usr/lib/*.so.*"
|
|
}
|
|
}
|
|
|
|
nilfs-utils-devel_package() {
|
|
depends="${makedepends} libnilfs>=${version}_${revision}"
|
|
short_desc="${short_desc/utils/development files}"
|
|
license="LGPL-2.1-only"
|
|
pkg_install() {
|
|
vmove usr/include
|
|
vmove "usr/lib/*.a"
|
|
vmove "usr/lib/*.so"
|
|
}
|
|
}
|