wok-current rev 22930

updated hiawatha (10.9 -> 10.10)
author Hans-G?nter Theisgen
date Wed Feb 26 15:55:59 2020 +0100 (2020-02-26)
parents 31b8e9d2cab1
children 4c9a26683899
files hiawatha/receipt
line diff
     1.1 --- a/hiawatha/receipt	Wed Feb 26 15:46:44 2020 +0100
     1.2 +++ b/hiawatha/receipt	Wed Feb 26 15:55:59 2020 +0100
     1.3 @@ -1,30 +1,36 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="hiawatha"
     1.7 -VERSION="10.9"
     1.8 +VERSION="10.10"
     1.9  CATEGORY="network"
    1.10 +TAGS="webserver http server"
    1.11  SHORT_DESC="Advanced and secure webserver."
    1.12  MAINTAINER="pascal.bellard@slitaz.org"
    1.13  LICENSE="GPL2"
    1.14 +WEB_SITE="https://www.hiawatha-webserver.org/"
    1.15 +
    1.16  TARBALL="$PACKAGE-$VERSION.tar.gz"
    1.17 -WEB_SITE="https://www.hiawatha-webserver.org/"
    1.18  WGET_URL="${WEB_SITE}files/$TARBALL"
    1.19 +
    1.20  PROVIDE="lighttpd"
    1.21 +DEPENDS="gcc83-lib-base libxml2 libxslt openssl zlib"
    1.22 +BUILD_DEPENDS="cmake gcc83 libxml2-dev libxslt-dev openssl-dev zlib-dev"
    1.23 +
    1.24  CONFIG_FILES="/etc/hiawatha"
    1.25 -TAGS="webserver http server"
    1.26 -PROVIDE="lighttpd"
    1.27 -
    1.28 -DEPENDS="openssl libxml2 libxslt zlib"
    1.29 -BUILD_DEPENDS="openssl-dev libxml2-dev libxslt-dev zlib-dev cmake gcc83"
    1.30  
    1.31  # Rules to configure and make the package.
    1.32  compile_rules()
    1.33  {
    1.34  	export CC=gcc-83
    1.35  	export CXX=g++-83
    1.36 -	cmake -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_SYSCONFDIR=/etc \
    1.37 -	      -DLOG_DIR=/var/log -DWEBROOT_DIR=/var/www -DPID_DIR=/var/run \
    1.38 -	      -DWORK_DIR=/var/lib .
    1.39 +
    1.40 +	cmake	.				\
    1.41 +		-DCMAKE_INSTALL_PREFIX=/usr	\
    1.42 +		-DCMAKE_INSTALL_SYSCONFDIR=/etc \
    1.43 +		-DLOG_DIR=/var/log		\
    1.44 +		-DWEBROOT_DIR=/var/www		\
    1.45 +		-DPID_DIR=/var/run		\
    1.46 +		-DWORK_DIR=/var/lib &&
    1.47  	make DESTDIR=$DESTDIR install
    1.48  }
    1.49  
    1.50 @@ -32,9 +38,10 @@
    1.51  genpkg_rules()                                      
    1.52  {
    1.53  	mkdir -p $fs/usr
    1.54 -	cp -a $install/var $fs
    1.55 -	cp -a $install/etc $fs
    1.56 -	cp -a $install/usr/lib $fs/usr
    1.57 -	cp -a $install/usr/bin $fs/usr
    1.58 -	cp -a $install/usr/sbin $fs/usr
    1.59 +
    1.60 +	cp -a $install/var	$fs
    1.61 +	cp -a $install/etc	$fs
    1.62 +	cp -a $install/usr/lib	$fs/usr
    1.63 +	cp -a $install/usr/bin	$fs/usr
    1.64 +	cp -a $install/usr/sbin	$fs/usr
    1.65  }