wok-current view cifs-utils/receipt @ rev 25728

Merge wok for both arch and few updates
author Stanislas Leduc <shann@slitaz.org>
date Thu Dec 05 08:39:45 2024 +0000 (5 weeks ago)
parents c6a7d1307ceb
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 HOST_ARCH="i486 x86_64"
20 # What is the latest version available today?
21 current_version()
22 {
23 wget -O - ${WGET_URL%/*} 2>/dev/null | \
24 sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
25 }
27 # Rules to configure and make the package.
28 compile_rules()
29 {
30 autoreconf -i &&
31 ./configure \
32 --prefix=/usr \
33 --sbindir=/sbin \
34 $CONFIGURE_ARGS &&
35 make &&
36 make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/bin
43 mkdir -p $fs/usr/sbin
45 cp -a $install/sbin $fs
46 cp -a $install/usr/bin/smbinfo $fs/usr/bin
47 ln -s ../../sbin/mount.cifs $fs/usr/sbin/mount.cifs
48 ln $fs/usr/sbin/mount.cifs $fs/usr/sbin/umount.cifs
49 }