wok-next rev 21309

updated hydra again (7.3 -> 9.0)
author Hans-G?nter Theisgen
date Tue Dec 10 10:25:54 2019 +0100 (2019-12-10)
parents c515d7f7dd80
children 49014ec25c90
files hydra/receipt hylafax/receipt
line diff
     1.1 --- a/hydra/receipt	Tue Dec 10 10:10:46 2019 +0100
     1.2 +++ b/hydra/receipt	Tue Dec 10 10:25:54 2019 +0100
     1.3 @@ -9,7 +9,7 @@
     1.4  WEB_SITE="https://github.com/vanhauser-thc/thc-hydra"
     1.5  
     1.6  TARBALL="$PACKAGE-$VERSION-src.tar.gz"
     1.7 -WGET_URL="http://freeworld.thc.org/releases/$TARBALL"
     1.8 +WGET_URL="$WEB_SITE/archive/v$VERSION.tar.gz"
     1.9  
    1.10  BUILD_DEPENDS="apr-dev gtk2-dev libidn-dev libmysqlclient libssh-dev 
    1.11  	mysql-dev openssl-dev postgresql-dev subversion-dev"
     2.1 --- a/hylafax/receipt	Tue Dec 10 10:10:46 2019 +0100
     2.2 +++ b/hylafax/receipt	Tue Dec 10 10:25:54 2019 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt v2.
     2.5  
     2.6  PACKAGE="hylafax"
     2.7 -VERSION="6.0.6"
     2.8 +VERSION="6.0.7"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="Enterprise-class system for sending and receiving facsimiles"
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12 @@ -11,12 +11,15 @@
    2.13  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14  WGET_URL="ftp://ftp.hylafax.org/source/$TARBALL"
    2.15  
    2.16 -BUILD_DEPENDS="tiff-dev zlib-dev mgetty ghostscript"
    2.17 +BUILD_DEPENDS="ghostscript mgetty tiff-dev zlib-dev"
    2.18  
    2.19 -compile_rules() {
    2.20 +compile_rules()
    2.21 +{
    2.22  	[ -f defs.org ] && cp defs.org defs
    2.23  	[ -f etc/Makefile.org ] && cp etc/Makefile.org etc/Makefile
    2.24 -	sed  -i -e 's|=/usr/local/|=/usr/|g' configure
    2.25 +
    2.26 +	sed  -i -e 's|=/usr/local/|=/usr/|g' \
    2.27 +		configure
    2.28  	yes '' | ./configure
    2.29  	make
    2.30  	cp defs defs.org
    2.31 @@ -29,8 +32,11 @@
    2.32  		-e 's|= uucp|= root|' \
    2.33  		-e 's|= bin|= root|' \
    2.34  		-i defs
    2.35 -	mkdir -p $install/usr/lib $install/var/spool/hylafax
    2.36 -	cp etc/Makefile etc/Makefile.org
    2.37 +
    2.38 +	mkdir -p $install/usr/lib 
    2.39 +	mkdir -p $install/var/spool/hylafax
    2.40 +
    2.41 +	cp etc/Makefile	etc/Makefile.org
    2.42  	sed -i  -e "s|/etc/init.d|$install/etc/init.d|" \
    2.43  		-e "s|/etc/config|$install/etc/config|" \
    2.44  		etc/Makefile
    2.45 @@ -38,13 +44,17 @@
    2.46  	make DESTDIR=$install install
    2.47  }
    2.48  
    2.49 -genpkg_rules() {
    2.50 +genpkg_rules()
    2.51 +{
    2.52  	mkdir -p $fs/usr
    2.53 -	cp -a $install/usr/bin $fs/usr
    2.54 -	cp -a $install/usr/sbin $fs/usr
    2.55 -	cp -a $install/usr/lib $fs/usr
    2.56 -	cp -a $install/var $fs
    2.57 +
    2.58 +	cp -a $install/usr/bin	$fs/usr
    2.59 +	cp -a $install/usr/sbin	$fs/usr
    2.60 +	cp -a $install/usr/lib	$fs/usr
    2.61 +	cp -a $install/var	$fs
    2.62  	rm -rf $install/var/spool/hylafax/etc/templates
    2.63 -	cp -a $install/etc $fs
    2.64 -	DEPENDS="jpeg libtiff tiff zlib postfix mgetty ghostscript"
    2.65 +
    2.66 +	cp -a $install/etc	$fs
    2.67 +
    2.68 +	DEPENDS="ghostscript jpeg libtiff mgetty postfix tiff zlib"
    2.69  }