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