wok view cifs-utils/receipt @ rev 25498

Up dropbear (2022.83)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 15 12:09:07 2022 +0000 (22 months ago)
parents c9fa368eb94f
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 gcc83-lib-base libcap linux-cifs"
16 BUILD_DEPENDS="autoconf automake gcc83 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 CC=gcc-83 \
31 CXX=g++-83 \
32 --prefix=/usr \
33 $CONFIGURE_ARGS &&
34 make &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/bin
42 mkdir -p $fs/usr/sbin
44 cp -a $install/sbin $fs
45 cp -a $install/usr/bin/smbinfo $fs/usr
46 ln -s ../../sbin/mount.cifs $fs/usr/sbin/mount.cifs
47 ln $fs/usr/sbin/mount.cifs $fs/usr/sbin/umount.cifs
48 }