wok-next annotate cifs-utils/receipt @ rev 21469

updated tinc (1.0.25 -> 1.0.36)
author Hans-G?nter Theisgen
date Wed May 13 07:41:00 2020 +0100 (2020-05-13)
parents d5aab818505e
children
rev   line source
al@20464 1 # SliTaz package receipt v2.
pascal@15328 2
pascal@15328 3 PACKAGE="cifs-utils"
al@21036 4 VERSION="6.8"
pascal@15328 5 CATEGORY="system-tools"
al@20464 6 SHORT_DESC="CIFS userland tools"
pascal@15328 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15328 8 LICENSE="GPL3"
al@20906 9 WEB_SITE="https://wiki.samba.org/index.php/LinuxCIFS_utils"
al@20464 10
pascal@15328 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@21036 12 WGET_URL="https://download.samba.org/pub/linux-cifs/$PACKAGE/$TARBALL"
pascal@15328 13
al@21036 14 BUILD_DEPENDS="pam-dev krb5-dev keyutils-dev samba-dev python3-docutils \
al@21036 15 libcap-dev libcap-ng-dev"
al@21020 16 SPLIT="$PACKAGE-dev"
pascal@15328 17
al@20464 18 compile_rules() {
al@21036 19 sed -i 's|^LIBCAP_NG_PATH$||' configure # fix 'command not found'
al@21036 20
al@21036 21 ./configure $CONFIGURE_ARGS &&
pascal@15328 22 make &&
al@21036 23 make install || return 1
al@19315 24
al@21036 25 mkdir -p $install/usr/sbin/
al@21036 26 ln -s ../../sbin/mount.cifs $install/usr/sbin/mount.cifs
al@21036 27 ln -s ../../sbin/mount.cifs $install/usr/sbin/umount.cifs
pascal@15328 28 }
pascal@15328 29
al@20464 30 genpkg_rules() {
al@20464 31 case $PACKAGE in
al@20464 32 cifs-utils)
al@21036 33 copy @std
al@21036 34 DEPENDS="keyutils libcap libkrb5 pam samba talloc linux-cifs"
al@20464 35 PROVIDE="smbfs"
al@20464 36 ;;
al@20464 37 *-dev)
al@21036 38 copy @dev
al@20464 39 ;;
al@20464 40 esac
pascal@15328 41 }