void-packages/srcpkgs/nilfs-utils/template

40 lines
1 KiB
Text
Raw Normal View History

2011-12-21 19:21:31 +00:00
# Template file for 'nilfs-utils'
pkgname=nilfs-utils
2014-09-18 22:11:27 +00:00
version=2.2.2
2014-02-15 00:40:46 +00:00
revision=1
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@gmail.com>"
license="GPL-2, LGPL-2.1"
2014-04-14 10:58:37 +00:00
homepage="http://nilfs.sourceforge.net/"
distfiles="http://www.nilfs.org/download/$pkgname-$version.tar.bz2"
2014-09-18 22:11:27 +00:00
checksum=14376ff6ca4e286030aa65cf09e224e02ae8aacd1352711e1cc083243c2f51f0
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"
}
}