wok-6.x diff cups-pam/receipt @ rev 25445

itaka: fix wget_url
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 06 07:38:52 2022 +0000 (2022-09-06)
parents 5ea0ce1cecc0
children
line diff
     1.1 --- a/cups-pam/receipt	Tue Jun 08 08:46:05 2021 +0000
     1.2 +++ b/cups-pam/receipt	Tue Sep 06 07:38:52 2022 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="cups-pam"
     1.7 -VERSION="2.3.1"
     1.8 +VERSION="2.4.1"
     1.9  CATEGORY="system-tools"
    1.10  SHORT_DESC="Common UNIX Printing System with PAM support."
    1.11  MAINTAINER="pascal.bellard@slitaz.org"
    1.12 @@ -10,9 +10,10 @@
    1.13  
    1.14  SOURCE="cups"
    1.15  TARBALL="$SOURCE-$VERSION-source.tar.gz"
    1.16 -WGET_URL="https://github.com/apple/$SOURCE/releases/download/v$VERSION/$TARBALL"
    1.17 +WGET_URL="https://github.com/OpenPrinting/$SOURCE/releases/download/v$VERSION/$TARBALL"
    1.18  
    1.19  PROVIDE="cups:pam"
    1.20 +SUGGESTED="cups-lang"
    1.21  DEPENDS="cups-doc cups-filters dbus libcomerr libcups libkrb5 libssl 
    1.22  	libunistring pam"
    1.23  BUILD_DEPENDS="acl-dev dbus-dev gnutls-dev jpeg-dev libcomerr-dev 
    1.24 @@ -51,10 +52,9 @@
    1.25  		--with-languages="$LOCALE_PACK"	\
    1.26  		$CONFIGURE_ARGS &&
    1.27  	make &&
    1.28 -	make BUILDROOT=$DESTDIR install
    1.29 +	make install BUILDROOT=$DESTDIR
    1.30  
    1.31 -	cp -f $WOK/cups/stuff/cups.desktop \
    1.32 -		$install/usr/share/applications/cups.desktop
    1.33 +	cp -f $WOK/cups/stuff/cups.desktop	$install/usr/share/applications/cups.desktop
    1.34  }
    1.35  
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37 @@ -67,9 +67,9 @@
    1.38  	cp -a $install/etc/cups		$fs/etc
    1.39  	cp -a $install/etc/dbus*	$fs/etc
    1.40  	cp -a $install/usr/bin		$fs/usr
    1.41 -	cp -a $install/usr/sbin		$fs/usr
    1.42  	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.43  	cp -a $install/usr/lib/cups	$fs/usr/lib
    1.44 +	cp -a $install/usr/sbin		$fs/usr
    1.45  	cp -a $install/usr/share/cups	$fs/usr/share
    1.46  	cp -a $install/usr/share/icons	$fs/usr/share
    1.47  	cp -a $install/var		$fs
    1.48 @@ -81,7 +81,7 @@
    1.49  	# Remove files provided by libcups
    1.50  	rm -f				$fs/usr/lib/libcups.so*
    1.51  
    1.52 -	# PAM conf
    1.53 +	# PAM configuration
    1.54  	cp -a $stuff/etc		$fs
    1.55  
    1.56  	# Daemon script
    1.57 @@ -89,7 +89,6 @@
    1.58  
    1.59  	# TazPanel link
    1.60  	cp -a $WOK/cups/stuff/var	$fs
    1.61 -
    1.62  }
    1.63  
    1.64  post_install()
    1.65 @@ -111,7 +110,7 @@
    1.66  
    1.67  pre_remove()
    1.68  {
    1.69 -	# Stop CUPS daemon before remove.
    1.70 +	# Stop CUPS daemon before removing.
    1.71  	[ -z "$1" -a -x /etc/init.d/cupsd ] && /etc/init.d/cupsd stop
    1.72  	:
    1.73  }