void-packages/srcpkgs/xfsprogs/template

47 lines
1.3 KiB
Plaintext

# Template file for 'xfsprogs'
pkgname=xfsprogs
version=3.1.3
distfiles="ftp://oss.sgi.com/projects/xfs/cmd_tars/$pkgname-$version.tar.gz"
build_style=custom-install
short_desc="Utilities for managing the XFS filesystem"
maintainer="Juan RP <xtraeme@gmail.com>"
checksum=fad032cc65be3e6a384f2835211e1caf6bb67b4185bf660910753d42b5795fd5
long_desc="
A set of commands to use the XFS filesystem, including mkfs.xfs.
XFS is a high performance journaling filesystem which originated on the
SGI IRIX platform. It is completely multi-threaded, can support large files
and large filesystems, extended attributes, variable block sizes, is extent
based, and makes extensive use of Btrees (directories, extents, free space)
to aid both performance and scalability."
disable_parallel_build=yes
subpackages="$pkgname-libs $pkgname-devel"
Add_dependency run glibc
Add_dependency run libuuid
Add_dependency run libblkid
Add_dependency run readline
Add_dependency run xfsprogs-libs
Add_dependency build gawk
Add_dependency build gettext
Add_dependency build libuuid-devel
Add_dependency build libblkid-devel
Add_dependency build readline-devel
do_build()
{
export DEBUG=-DNDEBUG
./configure --enable-readline=yes \
--enable-blkid=yes \
--enable-lib64=no && \
make || return 1
}
do_install()
{
cd ${wrksrc} && \
make DIST_ROOT=${DESTDIR} install install-dev || return 1
}