wok-current view cifs-utils/receipt @ rev 25619
Use default gcc 6.3 for cifs-utils
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Sun Sep 03 20:04:11 2023 +0000 (17 months ago) |
parents | 65d7d867e0c1 |
children | c6a7d1307ceb |
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 $CONFIGURE_ARGS &&
32 make &&
33 make DESTDIR=$DESTDIR install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/bin
40 mkdir -p $fs/usr/sbin
42 cp -a $install/sbin $fs
43 cp -a $install/usr/bin/smbinfo $fs/usr
44 ln -s ../../sbin/mount.cifs $fs/usr/sbin/mount.cifs
45 ln $fs/usr/sbin/mount.cifs $fs/usr/sbin/umount.cifs
46 }