wok diff ufr2/receipt @ rev 25217
updated python-pdfkit (0.6.1 -> 1.0.0)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 15:33:13 2022 +0100 (2022-07-13) |
parents | b7f1bd1b9ac7 |
children |
line diff
1.1 --- a/ufr2/receipt Mon Mar 14 18:23:09 2022 +0000 1.2 +++ b/ufr2/receipt Wed Jul 13 15:33:13 2022 +0100 1.3 @@ -1,15 +1,15 @@ 1.4 # SliTaz package receipt. 1.5 1.6 PACKAGE="ufr2" 1.7 -VERSION="2.20" 1.8 +VERSION="2.40-2" 1.9 CATEGORY="system-tools" 1.10 SHORT_DESC="Canon URF2 driver with support for LBP, iR and MF series printers" 1.11 MAINTAINER="jozee@slitaz.org" 1.12 LICENSE="GPL2" 1.13 SOURCE="UFR_II_Printer_Driver_for_Linux_V220_uk_EN" 1.14 -TARBALL="${SOURCE}.tar.gz" 1.15 -WEB_SITE="https://web.archive.org/web/20091013040714/https://www.canon.com.au/pps/colour/imagepress_c1_drivers.aspx" 1.16 -WGET_URL="http://gdlp01.c-wss.com/gds/8/0100002708/03/$TARBALL" 1.17 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.18 +WEB_SITE="https://github.com/vicamo/cndrvcups-lb" 1.19 +WGET_URL="https://github.com/vicamo/cndrvcups-lb/archive/refs/tags/canon-$VERSION.tar.gz" 1.20 TAGS="printing printer driver" 1.21 1.22 DEPENDS="cups cairo cndrvcups-common cups" 1.23 @@ -25,22 +25,17 @@ 1.24 # Rules to configure and make the package. 1.25 compile_rules() 1.26 { 1.27 - #src="$WOK/$PACKAGE/$SOURCE/Sources" 1.28 - cd $src 1.29 - 1.30 - [ -d cndrvcups-lb-$VERSION ] || tar xzf Sources/cndrvcups-lb-${VERSION}-1.tar.gz 1.31 - 1.32 - cd $src/cndrvcups-lb-$VERSION/ppd && 1.33 - ./autogen.sh \ 1.34 + cd $src/ppd && 1.35 + ./autogen.sh \ 1.36 --prefix=/usr \ 1.37 --enable-shared \ 1.38 --disable-static \ 1.39 --program-suffix="" \ 1.40 --program-prefix="" && 1.41 - make $MAKEFLAGS && 1.42 - make DESTDIR=$DESTDIR install 1.43 + make $MAKEFLAGS && 1.44 + make DESTDIR=$DESTDIR install 1.45 1.46 - cd $src/cndrvcups-lb-$VERSION/pstoufr2cpca 1.47 + cd $src/pstoufr2cpca 1.48 ./autogen.sh \ 1.49 --prefix=/usr \ 1.50 --enable-progpath=/usr/bin \ 1.51 @@ -60,8 +55,8 @@ 1.52 $fs/usr/share/licenses/$PACKAGE \ 1.53 $fs/usr/lib/cups/filter 1.54 1.55 - cp -a $src/cndrvcups-lb-$VERSION/libs/*.so* $fs/usr/lib 1.56 - cp -a $src/cndrvcups-lb-$VERSION/data/C* $fs/usr/share/caepcm 1.57 + cp -a $src/libs/*.so* $fs/usr/lib 1.58 + cp -a $src/data/C* $fs/usr/share/caepcm 1.59 cp -a $install/usr/share/* $fs/usr/share/ 1.60 cp -a $install/usr/lib/cups/filter $fs/usr/lib/cups/filter 1.61 1.62 @@ -69,7 +64,7 @@ 1.63 find $fs/usr/share/cups/model -name "*.ppd" | xargs gzip -n9 1.64 1.65 # non-free license 1.66 - cp -a $src/Documents/LICENSE-ufr2drv*.txt $fs/usr/share/licenses/$PACKAGE 1.67 + cp -a $src/LICENSE-ufr2-${VERSION%-*}E.txt $fs/usr/share/licenses/$PACKAGE 1.68 1.69 cd $fs/usr/lib 1.70 ln -sf libcanonufr2.so.1.0.0 liblibcanonufr2.so.1