wok annotate cifs-utils/receipt @ rev 25805

created recipe for xfce4-weather-plugin
author Hans-G?nter Theisgen
date Wed Nov 13 15:24:31 2024 +0100 (2 weeks ago)
parents c9fa368eb94f
children
rev   line source
pascal@15328 1 # SliTaz package receipt.
pascal@15328 2
pascal@15328 3 PACKAGE="cifs-utils"
Hans-G?nter@24405 4 VERSION="6.14"
pascal@15328 5 CATEGORY="system-tools"
pascal@15328 6 SHORT_DESC="CIFS userland tools."
pascal@15328 7 MAINTAINER="pascal.bellard@slitaz.org"
pascal@15328 8 LICENSE="GPL3"
pascal@20669 9 WEB_SITE="https://wiki.samba.org/index.php/LinuxCIFS_utils"
Hans-G?nter@20788 10
pascal@15328 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20194 12 WGET_URL="https://download.samba.org/pub/linux-cifs/$PACKAGE/$TARBALL"
Hans-G?nter@20788 13
pascal@15328 14 PROVIDE="smbfs"
Hans-G?nter@22598 15 DEPENDS="attr gcc83-lib-base libcap linux-cifs"
Hans-G?nter@22598 16 BUILD_DEPENDS="autoconf automake gcc83 krb5-dev libcap-dev samba-dev talloc-dev"
pascal@15328 17
pascal@24411 18 # What is the latest version available today?
pascal@24411 19 current_version()
pascal@24411 20 {
pascal@24411 21 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24411 22 sed "/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
pascal@24411 23 }
pascal@24411 24
pascal@15328 25 # Rules to configure and make the package.
pascal@15328 26 compile_rules()
pascal@15328 27 {
Hans-G?nter@22597 28 autoreconf -i &&
Hans-G?nter@22597 29 ./configure \
Hans-G?nter@22598 30 CC=gcc-83 \
pascal@22712 31 CXX=g++-83 \
Hans-G?nter@22597 32 --prefix=/usr \
Hans-G?nter@20788 33 $CONFIGURE_ARGS &&
pascal@15328 34 make &&
pascal@15328 35 make DESTDIR=$DESTDIR install
pascal@15328 36 }
pascal@15328 37
pascal@15328 38 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@15328 39 genpkg_rules()
pascal@15328 40 {
pascal@22712 41 mkdir -p $fs/usr/bin
pascal@15328 42 mkdir -p $fs/usr/sbin
Hans-G?nter@22597 43
pascal@22712 44 cp -a $install/sbin $fs
pascal@22712 45 cp -a $install/usr/bin/smbinfo $fs/usr
pascal@22712 46 ln -s ../../sbin/mount.cifs $fs/usr/sbin/mount.cifs
pascal@22712 47 ln $fs/usr/sbin/mount.cifs $fs/usr/sbin/umount.cifs
pascal@15328 48 }