wok rev 18211

cups-filters: save patch
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Jul 16 09:43:24 2015 +0200 (2015-07-16)
parents 471f802b4973
children 743c142c84ab
files cups-filters/receipt
line diff
     1.1 --- a/cups-filters/receipt	Thu Jul 16 04:37:47 2015 +0200
     1.2 +++ b/cups-filters/receipt	Thu Jul 16 09:43:24 2015 +0200
     1.3 @@ -9,6 +9,8 @@
     1.4  WEB_SITE="http://www.linuxfoundation.org/collaborate/workgroups/openprinting"
     1.5  TARBALL="$PACKAGE-$VERSION.tar.xz"
     1.6  WGET_URL="http://www.openprinting.org/download/cups-filters/$TARBALL"
     1.7 +EXTRA_SOURCE_FILES="$PACKAGE-7371.u"
     1.8 +WGET_URL2="http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/diff/7371"
     1.9  
    1.10  DEPENDS="lcms poppler qpdf ghostscript gutenprint cups glib"
    1.11  BUILD_DEPENDS="ijs-dev libpng-dev lcms-dev poppler-dev \
    1.12 @@ -17,8 +19,9 @@
    1.13  # Rules to configure and make the package.
    1.14  compile_rules()
    1.15  {
    1.16 -    wget http://bzr.linuxfoundation.org/loggerhead/openprinting/cups-filters/diff/7371
    1.17 -    patch -p0 -i 7371
    1.18 +	[ -s $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES ] ||
    1.19 +		wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2
    1.20 +	patch -p0 -i $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES
    1.21  
    1.22  	./configure \
    1.23               --prefix=/usr \