32 lines
955 B
Bash
32 lines
955 B
Bash
# Template file for 'xfsprogs'
|
|
pkgname=xfsprogs
|
|
version=4.20.0
|
|
revision=1
|
|
build_style=gnu-configure
|
|
configure_args="--enable-readline=yes --enable-lib64=no"
|
|
hostmakedepends="libuuid-devel"
|
|
makedepends="libblkid-devel readline-devel"
|
|
short_desc="Utilities for managing the XFS filesystem"
|
|
maintainer="maxice8 <thinkabit.ukim@gmail.com>"
|
|
license="LGPL-2.1-or-later"
|
|
homepage="http://xfs.org/index.php/Main_Page"
|
|
distfiles="${KERNEL_SITE}/utils/fs/xfs/xfsprogs/xfsprogs-${version}.tar.xz"
|
|
checksum=beafdfd080352a8c9d543491e0874d0e8809cb643a3b9d352d5feed38d77022a
|
|
|
|
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
|
|
}
|
|
}
|