# Maintainer: PktSurf app=cifs-utils version=6.8 build=1sml homepage="http://wiki.samba.org/index.php/LinuxCIFS_utils" download="https://download.samba.org/pub/linux-cifs/cifs-utils/cifs-utils-$version.tar.bz2" desc="Utilities for managing CIFS filesystems" requires="libcap" prepbuilddir() { mkandenterbuilddir rm -rf $app-$version tar xf $srcdir/$app-$version.tar.?z* cd $app-$version fixbuilddirpermissions applypatch $srcdir/musl-fix-includes.patch applypatch $srcdir/xattr_size_max.patch } build() { ./configure \ --prefix=/usr make make install DESTDIR=$pkg cp COPYING $pkgdocs/ # ./configure doesn't care if you change --sbindir to /bin, so we move mount.cifs manually mkdir -p $pkg/bin ; mv $pkg/sbin/* $pkg/bin/ ; rmdir $pkg/sbin mkfinalpkg } sha512sums=" d59fb5e82e485df8f7221eadee3f60d6c7f1fb70987e686ca7929119eca113ec98754d3ab8d80f44c6aa926a9fbcfbe16b5e59eb46aa3ab7ba2cc787293d123f cifs-utils-6.8.tar.lz 99a2fab05bc2f14a600f89526ae0ed2c183cfa179fe386cb327075f710aee3aed5ae823f7c2f51913d1217c2371990d6d4609fdb8d80288bd3a6139df3c8aebe musl-fix-includes.patch 2a9366ec1ddb0389c535d2fa889f63287cb8374535a47232de102c7e50b6874f67a3d5ef3318df23733300fd8459c7ec4b11f3211508aca7800b756119308e98 xattr_size_max.patch "