wok rev 23217
cups-filters: inserted include statements
author | Hans-G?nter Theisgen |
---|---|
date | Mon Mar 23 07:48:24 2020 +0100 (2020-03-23) |
parents | ecd0c9292898 |
children | 3a91691ee943 |
files | cups-filters/receipt |
line diff
1.1 --- a/cups-filters/receipt Sun Mar 22 20:02:34 2020 +0100 1.2 +++ b/cups-filters/receipt Mon Mar 23 07:48:24 2020 +0100 1.3 @@ -23,24 +23,32 @@ 1.4 wget -O $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES $WGET_URL2 1.5 patch -p0 -i $SOURCES_REPOSITORY/$EXTRA_SOURCE_FILES 1.6 1.7 - ./configure \ 1.8 - --prefix=/usr \ 1.9 - --sysconfdir=/etc \ 1.10 + sed -i '40i#include <cups/ppd.h>'\ 1.11 + cupsfilters/colormanager.h 1.12 + sed -i '37i#include <cups/ppd.h>'\ 1.13 + cupsfilters/colord.h 1.14 + 1.15 + ./configure \ 1.16 + --prefix=/usr \ 1.17 + --sysconfdir=/etc \ 1.18 $CONFIGURE_ARGS && 1.19 - make && make install 1.20 + make && 1.21 + make install 1.22 } 1.23 1.24 # Rules to gen a SliTaz package suitable for Tazpkg. 1.25 genpkg_rules() 1.26 { 1.27 - mkdir -p $fs/usr/lib $fs/usr/share 1.28 - cp -a $install/etc $fs 1.29 - cp -a $install/usr/bin $fs/usr 1.30 - cp -a $install/usr/sbin $fs/usr 1.31 - cp -a $install/usr/lib/*so* $fs/usr/lib 1.32 - cp -a $install/usr/lib/cups $fs/usr/lib 1.33 - cp -a $install/usr/share/ppd $fs/usr/share 1.34 - cp -a $install/usr/share/cups $fs/usr/share 1.35 - rm -fr $fs/etc/rc*.d 1.36 - rm -fr $fs/usr/share/cups/ppdc 1.37 + mkdir -p $fs/usr/lib 1.38 + mkdir -p $fs/usr/share 1.39 + 1.40 + cp -a $install/etc $fs 1.41 + cp -a $install/usr/bin $fs/usr 1.42 + cp -a $install/usr/sbin $fs/usr 1.43 + cp -a $install/usr/lib/*so* $fs/usr/lib 1.44 + cp -a $install/usr/lib/cups $fs/usr/lib 1.45 + cp -a $install/usr/share/ppd $fs/usr/share 1.46 + cp -a $install/usr/share/cups $fs/usr/share 1.47 + rm -fr $fs/etc/rc*.d 1.48 + rm -fr $fs/usr/share/cups/ppdc 1.49 }