wok-next diff hylafax/receipt @ rev 21727
created recipe for vbindiff
author | Hans-G?nter Theisgen |
---|---|
date | Sat Nov 21 14:32:44 2020 +0100 (2020-11-21) |
parents | 75632eca5b07 |
children |
line diff
1.1 --- a/hylafax/receipt Mon Dec 24 02:07:02 2018 +0200 1.2 +++ b/hylafax/receipt Sat Nov 21 14:32:44 2020 +0100 1.3 @@ -1,7 +1,7 @@ 1.4 # SliTaz package receipt v2. 1.5 1.6 PACKAGE="hylafax" 1.7 -VERSION="6.0.6" 1.8 +VERSION="6.0.7" 1.9 CATEGORY="network" 1.10 SHORT_DESC="Enterprise-class system for sending and receiving facsimiles" 1.11 MAINTAINER="pascal.bellard@slitaz.org" 1.12 @@ -11,12 +11,15 @@ 1.13 TARBALL="$PACKAGE-$VERSION.tar.gz" 1.14 WGET_URL="ftp://ftp.hylafax.org/source/$TARBALL" 1.15 1.16 -BUILD_DEPENDS="tiff-dev zlib-dev mgetty ghostscript" 1.17 +BUILD_DEPENDS="ghostscript mgetty tiff-dev zlib-dev" 1.18 1.19 -compile_rules() { 1.20 +compile_rules() 1.21 +{ 1.22 [ -f defs.org ] && cp defs.org defs 1.23 [ -f etc/Makefile.org ] && cp etc/Makefile.org etc/Makefile 1.24 - sed -i -e 's|=/usr/local/|=/usr/|g' configure 1.25 + 1.26 + sed -i -e 's|=/usr/local/|=/usr/|g' \ 1.27 + configure 1.28 yes '' | ./configure 1.29 make 1.30 cp defs defs.org 1.31 @@ -29,8 +32,11 @@ 1.32 -e 's|= uucp|= root|' \ 1.33 -e 's|= bin|= root|' \ 1.34 -i defs 1.35 - mkdir -p $install/usr/lib $install/var/spool/hylafax 1.36 - cp etc/Makefile etc/Makefile.org 1.37 + 1.38 + mkdir -p $install/usr/lib 1.39 + mkdir -p $install/var/spool/hylafax 1.40 + 1.41 + cp etc/Makefile etc/Makefile.org 1.42 sed -i -e "s|/etc/init.d|$install/etc/init.d|" \ 1.43 -e "s|/etc/config|$install/etc/config|" \ 1.44 etc/Makefile 1.45 @@ -38,13 +44,17 @@ 1.46 make DESTDIR=$install install 1.47 } 1.48 1.49 -genpkg_rules() { 1.50 +genpkg_rules() 1.51 +{ 1.52 mkdir -p $fs/usr 1.53 - cp -a $install/usr/bin $fs/usr 1.54 - cp -a $install/usr/sbin $fs/usr 1.55 - cp -a $install/usr/lib $fs/usr 1.56 - cp -a $install/var $fs 1.57 + 1.58 + cp -a $install/usr/bin $fs/usr 1.59 + cp -a $install/usr/sbin $fs/usr 1.60 + cp -a $install/usr/lib $fs/usr 1.61 + cp -a $install/var $fs 1.62 rm -rf $install/var/spool/hylafax/etc/templates 1.63 - cp -a $install/etc $fs 1.64 - DEPENDS="jpeg libtiff tiff zlib postfix mgetty ghostscript" 1.65 + 1.66 + cp -a $install/etc $fs 1.67 + 1.68 + DEPENDS="ghostscript jpeg libtiff mgetty postfix tiff zlib" 1.69 }