32 lines
987 B
Bash
32 lines
987 B
Bash
# Template file for 'xfsprogs'
|
|
pkgname=xfsprogs
|
|
version=4.8.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-readline=yes --enable-lib64=no"
|
|
CFLAGS=-D_DIRENT_HAVE_D_RECLEN
|
|
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="ftp://ftp.kernel.org/pub/linux/utils/fs/xfs/${pkgname}/${pkgname}-${version}.tar.xz"
|
|
checksum=82ce9cb3a55f4e208e8fe3471ff0aff0602b8300f3e50bdf05cc7e11549686f9
|
|
|
|
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
|
|
}
|
|
}
|