void-packages/srcpkgs/xfsprogs/template
2017-05-06 08:35:00 +02:00

31 lines
937 B
Bash

# Template file for 'xfsprogs'
pkgname=xfsprogs
version=4.11.0
revision=1
build_style=gnu-configure
configure_args="--enable-readline=yes --enable-lib64=no"
hostmakedepends="libuuid-devel"
makedepends="libuuid-devel libblkid-devel readline-devel"
short_desc="Utilities for managing the XFS filesystem"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="LGPL-2.1"
homepage="http://xfs.org/"
distfiles="${KERNEL_SITE}/utils/fs/xfs/xfsprogs/xfsprogs-${version}.tar.xz"
checksum=c3a6d87b564d7738243c507df82276bed982265e345363a95f2c764e8a5f5bb2
do_install() {
make install install-dev DIST_ROOT=${DESTDIR} \
PKG_ROOT_SBIN_DIR=/usr/bin PKG_ROOT_LIB_DIR=/usr/lib
rm -rf ${DESTDIR}/usr/share/doc
}
xfsprogs-devel_package() {
depends="libuuid-devel ${sourcepkg}>=${version}_${revision}"
short_desc+=" - development files"
pkg_install() {
vmove usr/include
vmove "usr/lib/*.a"
vmove "usr/lib/*.so"
vmove usr/share/man/man3
}
}