void-packages/srcpkgs/nilfs-utils/template

40 lines
1.1 KiB
Bash
Raw Normal View History

2011-12-21 19:21:31 +00:00
# Template file for 'nilfs-utils'
pkgname=nilfs-utils
2015-02-16 08:43:57 +00:00
version=2.2.3
revision=2
2011-12-21 19:21:31 +00:00
build_style=gnu-configure
2014-09-01 20:06:26 +00:00
configure_args="--sbindir=/usr/sbin --enable-libmount"
2013-08-26 20:02:00 +00:00
make_install_args="sbindir=/usr/bin"
hostmakedepends="automake libtool"
makedepends="libuuid-devel libmount-devel"
conf_files="/etc/nilfs_cleanerd.conf"
2011-12-21 19:21:31 +00:00
short_desc="A log-structured file system for Linux - userspace utils"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
2011-12-21 19:21:31 +00:00
license="GPL-2, LGPL-2.1"
2014-04-14 10:58:37 +00:00
homepage="http://nilfs.sourceforge.net/"
2015-02-16 08:43:57 +00:00
distfiles="http://nilfs.sourceforge.net/download/$pkgname-$version.tar.bz2"
checksum=d84c339d265604cdb5faf0876037a3d41855f332cefa96213d33ee985ab960eb
2012-07-09 12:42:58 +00:00
2013-08-26 20:02:00 +00:00
pre_configure() {
autoreconf -fi
2012-07-09 12:42:58 +00:00
}
2014-09-01 20:06:26 +00:00
post_install() {
mv ${DESTDIR}/sbin ${DESTDIR}/usr
}
libnilfs_package() {
short_desc="NILFS userspace runtime libraries"
pkg_install() {
2013-08-26 20:02:00 +00:00
vmove "usr/lib/*.so.*"
}
}
nilfs-utils-devel_package() {
2014-09-01 20:06:26 +00:00
depends="${makedepends} libnilfs>=${version}_${revision}"
short_desc="NILFS userspace development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
2013-08-26 20:02:00 +00:00
vmove "usr/lib/*.so"
}
}