void-packages/srcpkgs/cifs-utils/template

28 lines
853 B
Plaintext

# Template file for 'cifs-utils'
pkgname=cifs-utils
version=6.2
revision=3
build_style=gnu-configure
configure_args="--sbindir=/usr/bin --enable-systemd"
make_install_args="ROOTSBINDIR=/usr/bin"
hostmakedepends="pkg-config"
makedepends="mit-krb5-devel talloc-devel libcap-ng-devel samba-devel>=3.6.15_2 keyutils-devel"
short_desc="CIFS filesystem user-space tools"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
homepage="http://wiki.samba.org/index.php/LinuxCIFS_utils"
distfiles="ftp://ftp.samba.org/pub/linux-cifs/$pkgname/$pkgname-$version.tar.bz2"
checksum=34676e374ee139ce1b6566ed1802c55f92b5d74cc58417a4989df7438ff2cd33
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" automake libtool libcap-ng-devel"
pre_configure() {
autoreconf -fi
}
fi
post_install() {
chmod +s ${DESTDIR}/usr/bin/mount.cifs
rm -rf ${DESTDIR}/usr/include
}