# Contributor: Francesco Colista # Maintainer: Francesco Colista setvar pkgname = 'cifs-utils' setvar pkgver = '6.7' setvar pkgrel = '1' setvar pkgdesc = ""CIFS filesystem user-space tools"" setvar url = ""http://wiki.samba.org/index.php/LinuxCIFS_utils"" setvar arch = ""all"" setvar license = ""GPL2+"" setvar makedepends = ""libcap-dev keyutils-dev krb5-dev talloc-dev autoconf automake"" setvar subpackages = ""$pkgname-doc $pkgname-dev"" setvar source = ""https://ftp.samba.org/pub/linux-cifs/$pkgname/$pkgname-$pkgver.tar.bz2 musl-fix-includes.patch"" setvar options = 'suid' setvar builddir = "$srcdir/$pkgname-$pkgver" proc build { cd $builddir autoreconf -i ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ || return 1 make AM_CFLAGS="" || return 1 } proc package { cd $builddir make DESTDIR="$pkgdir" install || return 1 rm -r $pkgdir/usr/bin # set mount.cifs uid, to enable none root mounting form fstab chmod +s $pkgdir/sbin/mount.cifs } setvar sha512sums = ""ee050a0eb4a72fbc8d773e86fbe6839ea2bf11cda5ebd071c8ead66e31b46d50ea4e1d1b26478373be53227cd60b32a90b65b5cb989b5a8237cddfc65bad8e5e cifs-utils-6.7.tar.bz2 99a2fab05bc2f14a600f89526ae0ed2c183cfa179fe386cb327075f710aee3aed5ae823f7c2f51913d1217c2371990d6d4609fdb8d80288bd3a6139df3c8aebe musl-fix-includes.patch""