wok-6.x diff cups/receipt @ rev 25565

Reenable rpc for glibc, fix gpxe grub4dos receipt, fix linld url
author Stanislas Leduc <shann@slitaz.org>
date Tue May 09 17:24:00 2023 +0000 (18 months ago)
parents 5ea0ce1cecc0
children
line diff
     1.1 --- a/cups/receipt	Tue Jun 08 08:46:05 2021 +0000
     1.2 +++ b/cups/receipt	Tue May 09 17:24:00 2023 +0000
     1.3 @@ -1,7 +1,7 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="cups"
     1.7 -VERSION="2.3.1"
     1.8 +VERSION="2.4.1"
     1.9  CATEGORY="system-tools"
    1.10  TAGS="printer printing"
    1.11  SHORT_DESC="Common UNIX Printing System."
    1.12 @@ -10,8 +10,9 @@
    1.13  WEB_SITE="https://www.cups.org/"
    1.14  
    1.15  TARBALL="$PACKAGE-$VERSION-source.tar.gz"
    1.16 -WGET_URL="https://github.com/apple/$PACKAGE/releases/download/v$VERSION/$TARBALL"
    1.17 +WGET_URL="https://github.com/OpenPrinting/$PACKAGE/releases/download/v$VERSION/$TARBALL"
    1.18  
    1.19 +SUGGESTED="cups-lang"
    1.20  DEPENDS="cups-doc cups-filters dbus libcomerr libcups libkrb5 libssl 
    1.21  	libunistring libusb-compat poppler-apps"
    1.22  BUILD_DEPENDS="acl-dev dbus-dev gnutls-dev jpeg-dev libgcrypt-dev 
    1.23 @@ -55,7 +56,7 @@
    1.24  		--with-languages="$LOCALE_PACK" \
    1.25  		$CONFIGURE_ARGS &&
    1.26  	make &&
    1.27 -	make BUILDROOT=$DESTDIR install
    1.28 +	make install BUILDROOT=$DESTDIR
    1.29  
    1.30  	cp -f $stuff/cups.desktop \
    1.31  		$install/usr/share/applications/cups.desktop
    1.32 @@ -71,9 +72,9 @@
    1.33  	cp -a $install/etc/cups		$fs/etc
    1.34  	cp -a $install/etc/dbus*	$fs/etc
    1.35  	cp -a $install/usr/bin		$fs/usr
    1.36 -	cp -a $install/usr/sbin		$fs/usr
    1.37  	cp -a $install/usr/lib/*.so*	$fs/usr/lib
    1.38  	cp -a $install/usr/lib/cups	$fs/usr/lib
    1.39 +	cp -a $install/usr/sbin		$fs/usr
    1.40  	cp -a $install/usr/share/cups	$fs/usr/share
    1.41  	cp -a $install/usr/share/icons	$fs/usr/share
    1.42  	cp -a $install/var		$fs
    1.43 @@ -87,7 +88,7 @@
    1.44  
    1.45  	# Daemon script
    1.46  	cp -a $stuff/etc		$fs
    1.47 -	sed -i 's|^#Group .*|Group lp|' $fs/etc/cups/cups-files.conf
    1.48 +	sed -i 's|^#Group .*|Group lp|'	$fs/etc/cups/cups-files.conf
    1.49  
    1.50  	# TazPanel link
    1.51  	cp -a $stuff/var		$fs
    1.52 @@ -112,11 +113,12 @@
    1.53  
    1.54  EOT
    1.55  	fi
    1.56 +	echo "Add cupsd to RUN_DAEMONS in /etc/rcS.conf to start cupsd after SliTaz startup."
    1.57  }
    1.58  
    1.59  pre_remove()
    1.60  {
    1.61 -	# Stop CUPS daemon before remove.
    1.62 +	# Stop CUPS daemon before removing.
    1.63  	[ -z "$1" -a -x /etc/init.d/cupsd ] && /etc/init.d/cupsd stop
    1.64  	:
    1.65  }