# Template file for 'cifs-utils' pkgname=cifs-utils version=6.1 revision=1 build_style=gnu-configure configure_args="--sbindir=/usr/bin --disable-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 " 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=381f1e9caccdafdcdb0efa32a4cceb77c1a96b0b58702394e4b86dac4825f3b5 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" pre_configure() { autoreconf -fi } fi post_install() { chmod +s ${DESTDIR}/usr/bin/mount.cifs rm -rf ${DESTDIR}/usr/include } cifs-utils_package() { pkg_install() { vmove all } }