wok-6.x rev 23934
hylafax: accept tiff version 4.1 as well
author | Hans-G?nter Theisgen |
---|---|
date | Mon Sep 07 16:46:15 2020 +0100 (2020-09-07) |
parents | 64767bfb1282 |
children | cac92e0c04fc |
files | hylafax/receipt |
line diff
1.1 --- a/hylafax/receipt Mon Sep 07 13:19:26 2020 +0100 1.2 +++ b/hylafax/receipt Mon Sep 07 16:46:15 2020 +0100 1.3 @@ -6,16 +6,20 @@ 1.4 SHORT_DESC="enterprise-class system for sending and receiving facsimiles." 1.5 MAINTAINER="pascal.bellard@slitaz.org" 1.6 LICENSE="BSD" 1.7 +WEB_SITE="https://www.hylafax.org/" 1.8 + 1.9 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.10 -WEB_SITE="https://www.hylafax.org/" 1.11 WGET_URL="ftp://ftp.hylafax.org/source/$TARBALL" 1.12 1.13 -DEPENDS="jpeg tiff tiff-apps zlib postfix mgetty ghostscript" 1.14 -BUILD_DEPENDS="tiff-dev tiff-apps zlib-dev mgetty ghostscript" 1.15 +DEPENDS="ghostscript jpeg mgetty postfix tiff tiff-apps zlib" 1.16 +BUILD_DEPENDS="ghostscript mgetty tiff-apps tiff-dev zlib-dev" 1.17 1.18 # Rules to configure and make the package. 1.19 compile_rules() 1.20 { 1.21 + # accept tiff version 4.1 as well: 1.22 + sed -i 's|4.\[0\]|4.\[01\]|' configure 1.23 + 1.24 [ -f defs.org ] && cp defs.org defs 1.25 [ -f etc/Makefile.org ] && cp etc/Makefile.org etc/Makefile 1.26 sed -i -e 's|=/usr/local/|=/usr/|g' configure 1.27 @@ -30,8 +34,9 @@ 1.28 -e 's|= uucp|= root|' \ 1.29 -e 's|= bin|= root|' \ 1.30 defs 1.31 - mkdir -p $DESTDIR/usr/lib $DESTDIR/var/spool/hylafax 1.32 - cp etc/Makefile etc/Makefile.org 1.33 + mkdir -p $DESTDIR/usr/lib 1.34 + mkdir -p $DESTDIR/var/spool/hylafax 1.35 + cp etc/Makefile etc/Makefile.org 1.36 sed -i -e "s|/etc/init.d|$DESTDIR/etc/init.d|" \ 1.37 -e "s|/etc/config|$DESTDIR/etc/config|" \ 1.38 etc/Makefile 1.39 @@ -43,10 +48,11 @@ 1.40 genpkg_rules() 1.41 { 1.42 mkdir -p $fs/usr 1.43 - cp -a $install/usr/bin $fs/usr 1.44 - cp -a $install/usr/sbin $fs/usr 1.45 - cp -a $install/usr/lib $fs/usr 1.46 - cp -a $install/var $fs 1.47 - rm -rf $install/var/spool/hylafax/etc/templates 1.48 - cp -a $install/etc $fs 1.49 + 1.50 + cp -a $install/usr/bin $fs/usr 1.51 + cp -a $install/usr/sbin $fs/usr 1.52 + cp -a $install/usr/lib $fs/usr 1.53 + cp -a $install/var $fs 1.54 + rm -rf $install/var/spool/hylafax/etc/templates 1.55 + cp -a $install/etc $fs 1.56 }