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
|
2014-02-04 17:27:02 +01:00
|
|
|
revision=3
|
2012-08-06 18:46:58 +02:00
|
|
|
build_style=gnu-configure
|
2014-02-04 17:27:02 +01:00
|
|
|
configure_args="--sbindir=/usr/bin --enable-systemd"
|
2013-09-24 15:59:21 +02:00
|
|
|
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
|
|
|
|
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
|
|
|
}
|