void-packages/srcpkgs/cifs-utils/template

28 lines
853 B
Text
Raw Normal View History

2012-04-05 10:24:35 +00:00
# Template file for 'cifs-utils'
pkgname=cifs-utils
2013-10-09 12:13:14 +00:00
version=6.2
revision=3
2012-08-06 16:46:58 +00:00
build_style=gnu-configure
configure_args="--sbindir=/usr/bin --enable-systemd"
2013-09-24 13:59:21 +00:00
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"
2012-04-05 10:24:35 +00:00
short_desc="CIFS filesystem user-space tools"
maintainer="Juan RP <xtraeme@gmail.com>"
license="GPL-2"
2012-08-06 16:46:58 +00: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 12:13:14 +00:00
checksum=34676e374ee139ce1b6566ed1802c55f92b5d74cc58417a4989df7438ff2cd33
2012-04-05 10:24:35 +00:00
2013-09-24 13:59:21 +00:00
if [ "$CROSS_BUILD" ]; then
hostmakedepends+=" automake libtool libcap-ng-devel"
2013-09-24 13:59:21 +00:00
pre_configure() {
autoreconf -fi
}
fi
2012-04-05 10:24:35 +00:00
post_install() {
2013-05-15 06:01:50 +00:00
chmod +s ${DESTDIR}/usr/bin/mount.cifs
2013-09-24 13:59:21 +00:00
rm -rf ${DESTDIR}/usr/include
2012-04-05 10:24:35 +00:00
}