void-packages/srcpkgs/nilfs-utils/template

40 lines
1.0 KiB
Plaintext
Raw Normal View History

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