wok-6.x annotate cifs-utils/receipt @ rev 24732
updated libdvdnav and libdvdnav-dev (6.0.1 -> 6.1.1)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 15 17:34:18 2022 +0100 (2022-03-15) |
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 } |