2011-12-21 20:21:31 +01:00
|
|
|
# Template file for 'nilfs-utils'
|
|
|
|
pkgname=nilfs-utils
|
2012-07-08 17:42:55 +02:00
|
|
|
version=2.1.4
|
2013-04-14 04:36:19 +02:00
|
|
|
revision=3
|
2011-12-21 20:21:31 +01:00
|
|
|
build_style=gnu-configure
|
2012-02-09 09:00:54 +01:00
|
|
|
configure_args="--enable-libmount"
|
2012-05-23 18:26:56 +02:00
|
|
|
makedepends="libuuid-devel libmount-devel"
|
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"
|
2012-06-16 06:51:29 +02:00
|
|
|
homepage="http://www.nilfs.org"
|
|
|
|
distfiles="$homepage/download/$pkgname-$version.tar.bz2"
|
2012-07-08 17:42:55 +02:00
|
|
|
checksum=8e4e7418a2e7eeb19886ec731f9a0799fd03b09a21a920e1dad8e3a9c8e6c13d
|
2011-12-21 20:21:31 +01:00
|
|
|
long_desc="
|
|
|
|
NILFS is a log-structured file system supporting versioning of the entire
|
|
|
|
file system and continuous snapshotting which allows users to even restore
|
|
|
|
files mistakenly overwritten or destroyed just a few seconds ago.
|
|
|
|
|
|
|
|
This package contains the required userspace utilities."
|
2012-07-09 14:42:58 +02:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vmkdir usr/sbin
|
2013-04-16 10:45:34 +02:00
|
|
|
mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/sbin
|
2012-07-09 14:42:58 +02:00
|
|
|
}
|
2013-04-14 04:36:19 +02:00
|
|
|
|
|
|
|
libnilfs_package() {
|
|
|
|
short_desc="NILFS userspace runtime libraries"
|
|
|
|
pkg_install() {
|
|
|
|
vmove "usr/lib/*.so*"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
nilfs-utils-devel_package() {
|
|
|
|
depends="libuuid-devel libmount-devel libnilfs>=$version"
|
|
|
|
short_desc="NILFS userspace development files"
|
|
|
|
pkg_install() {
|
|
|
|
vmove usr/include
|
|
|
|
vmove "usr/lib/*.a"
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
nilfs-utils_package() {
|
|
|
|
conf_files="/etc/nilfs_cleanerd.conf"
|
|
|
|
pkg_install() {
|
|
|
|
vmove etc
|
|
|
|
vmove usr
|
|
|
|
}
|
|
|
|
}
|