wok-current view cifs-utils/receipt @ rev 24056
Up zstd (1.5.0)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Jun 08 09:29:15 2021 +0000 (2021-06-08) |
parents | 3efe33e068cd |
children | c9fa368eb94f |
line source
1 # SliTaz package receipt.
3 PACKAGE="cifs-utils"
4 VERSION="6.10"
5 CATEGORY="system-tools"
6 SHORT_DESC="CIFS userland tools."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL3"
9 WEB_SITE="https://wiki.samba.org/index.php/LinuxCIFS_utils"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="https://download.samba.org/pub/linux-cifs/$PACKAGE/$TARBALL"
14 PROVIDE="smbfs"
15 DEPENDS="attr gcc83-lib-base libcap linux-cifs"
16 BUILD_DEPENDS="autoconf automake gcc83 krb5-dev libcap-dev samba-dev talloc-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 autoreconf -i &&
22 ./configure \
23 CC=gcc-83 \
24 CXX=g++-83 \
25 --prefix=/usr \
26 $CONFIGURE_ARGS &&
27 make &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/bin
35 mkdir -p $fs/usr/sbin
37 cp -a $install/sbin $fs
38 cp -a $install/usr/bin/smbinfo $fs/usr
39 ln -s ../../sbin/mount.cifs $fs/usr/sbin/mount.cifs
40 ln $fs/usr/sbin/mount.cifs $fs/usr/sbin/umount.cifs
41 }