2011-12-21 19:21:31 +00:00
|
|
|
# Template file for 'nilfs-utils'
|
|
|
|
pkgname=nilfs-utils
|
2012-07-08 15:42:55 +00:00
|
|
|
version=2.1.4
|
2013-04-14 02:36:19 +00:00
|
|
|
revision=3
|
2011-12-21 19:21:31 +00:00
|
|
|
build_style=gnu-configure
|
2012-02-09 08:00:54 +00:00
|
|
|
configure_args="--enable-libmount"
|
2012-05-23 16:26:56 +00:00
|
|
|
makedepends="libuuid-devel libmount-devel"
|
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"
|
2012-06-16 04:51:29 +00:00
|
|
|
homepage="http://www.nilfs.org"
|
|
|
|
distfiles="$homepage/download/$pkgname-$version.tar.bz2"
|
2012-07-08 15:42:55 +00:00
|
|
|
checksum=8e4e7418a2e7eeb19886ec731f9a0799fd03b09a21a920e1dad8e3a9c8e6c13d
|
2011-12-21 19:21:31 +00: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 12:42:58 +00:00
|
|
|
|
|
|
|
post_install() {
|
|
|
|
vmkdir usr/sbin
|
2013-04-16 08:45:34 +00:00
|
|
|
mv ${DESTDIR}/sbin/* ${DESTDIR}/usr/sbin
|
2012-07-09 12:42:58 +00:00
|
|
|
}
|
2013-04-14 02:36:19 +00: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
|
|
|
|
}
|
|
|
|
}
|