2012-04-05 12:24:35 +02:00
|
|
|
# Template file for 'cifs-utils'
|
|
|
|
pkgname=cifs-utils
|
2013-10-09 14:13:14 +02:00
|
|
|
version=6.2
|
2013-10-09 14:16:05 +02:00
|
|
|
revision=2
|
2012-08-06 18:46:58 +02:00
|
|
|
build_style=gnu-configure
|
2013-10-09 14:13:14 +02:00
|
|
|
configure_args="--sbindir=/usr/bin --enable-systemd
|
2013-09-24 15:59:21 +02:00
|
|
|
ac_cv_func_malloc_0_nonnull=yes ac_cv_func_realloc_0_nonnull=yes"
|
|
|
|
make_install_args="ROOTSBINDIR=/usr/bin"
|
2013-05-16 16:21:17 +02:00
|
|
|
hostmakedepends="pkg-config"
|
|
|
|
makedepends="mit-krb5-devel talloc-devel libcap-ng-devel samba-devel>=3.6.15_2 keyutils-devel"
|
2012-04-05 12:24:35 +02:00
|
|
|
short_desc="CIFS filesystem user-space tools"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-2"
|
2012-08-06 18:46:58 +02:00
|
|
|
homepage="http://wiki.samba.org/index.php/LinuxCIFS_utils"
|
|
|
|
distfiles="ftp://ftp.samba.org/pub/linux-cifs/$pkgname/$pkgname-$version.tar.bz2"
|
2013-10-09 14:13:14 +02:00
|
|
|
checksum=34676e374ee139ce1b6566ed1802c55f92b5d74cc58417a4989df7438ff2cd33
|
2012-04-05 12:24:35 +02:00
|
|
|
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."
|
|
|
|
|
2013-09-24 15:59:21 +02:00
|
|
|
if [ "$CROSS_BUILD" ]; then
|
2013-10-09 14:15:40 +02:00
|
|
|
hostmakedepends+=" automake libtool libcap-ng-devel"
|
2013-09-24 15:59:21 +02:00
|
|
|
pre_configure() {
|
|
|
|
autoreconf -fi
|
|
|
|
}
|
|
|
|
fi
|
|
|
|
|
2012-04-05 12:24:35 +02:00
|
|
|
post_install() {
|
2013-05-15 08:01:50 +02:00
|
|
|
chmod +s ${DESTDIR}/usr/bin/mount.cifs
|
2013-09-24 15:59:21 +02:00
|
|
|
rm -rf ${DESTDIR}/usr/include
|
2012-04-05 12:24:35 +02:00
|
|
|
}
|