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"
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="libuuid-devel libmount-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
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
|
|
|
|
}
|
2013-04-14 02:36:19 +00:00
|
|
|
|
|
|
|
libnilfs_package() {
|
|
|
|
short_desc="NILFS userspace runtime libraries"
|
|
|
|
pkg_install() {
|
2013-08-26 20:02:00 +00:00
|
|
|
vmove "usr/lib/*.so.*"
|
2013-04-14 02:36:19 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
nilfs-utils-devel_package() {
|
2014-09-01 20:06:26 +00:00
|
|
|
depends="${makedepends} libnilfs>=${version}_${revision}"
|
2013-04-14 02:36:19 +00:00
|
|
|
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"
|
2013-04-14 02:36:19 +00:00
|
|
|
}
|
|
|
|
}
|