void-packages/srcpkgs/cifs-utils/template

34 lines
1.1 KiB
Text

# Template file for 'cifs-utils'
pkgname=cifs-utils
version=6.2
revision=2
build_style=gnu-configure
configure_args="--sbindir=/usr/bin --enable-systemd
ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes"
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
long_desc="
The SMB/CIFS protocol provides support for cross-platform file sharing with
Microsoft Windows, OS X, and other Unix systems.
This package provides utilities for managing mounts of CIFS network file
systems."
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
}