wok-current view cifs-utils/receipt @ rev 25694
Fix cifs-utils, up grub2-efi-x64 stuff for iso EFI
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sat Mar 30 18:05:22 2024 +0000 (7 months ago) |
parents | e75b9784dd09 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="cifs-utils"
4 VERSION="6.14"
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 libcap linux-cifs"
16 BUILD_DEPENDS="autoconf automake krb5-dev libcap-dev samba-dev talloc-dev"
18 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
22 sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 autoreconf -i &&
29 ./configure \
30 --prefix=/usr \
31 --sbindir=/sbin \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/bin
41 mkdir -p $fs/usr/sbin
43 cp -a $install/sbin $fs
44 cp -a $install/usr/bin/smbinfo $fs/usr/bin
45 ln -s ../../sbin/mount.cifs $fs/usr/sbin/mount.cifs
46 ln $fs/usr/sbin/mount.cifs $fs/usr/sbin/umount.cifs
47 }