wok-current annotate hiawatha/receipt @ rev 24756
poppler: added build dependency gtk-doc
author | Hans-G?nter Theisgen |
---|---|
date | Thu Mar 17 09:00:25 2022 +0100 (2022-03-17) |
parents | 83b97236db32 |
children |
rev | line source |
---|---|
pascal@12973 | 1 # SliTaz package receipt. |
pascal@12973 | 2 |
pascal@12973 | 3 PACKAGE="hiawatha" |
Hans-G?nter@24644 | 4 VERSION="11.1" |
pascal@12973 | 5 CATEGORY="network" |
Hans-G?nter@22930 | 6 TAGS="webserver http server" |
pascal@12973 | 7 SHORT_DESC="Advanced and secure webserver." |
pascal@12973 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@15182 | 9 LICENSE="GPL2" |
Hans-G?nter@22930 | 10 WEB_SITE="https://www.hiawatha-webserver.org/" |
Hans-G?nter@22930 | 11 |
pascal@12973 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pascal@12973 | 13 WGET_URL="${WEB_SITE}files/$TARBALL" |
Hans-G?nter@22930 | 14 |
pascal@12973 | 15 PROVIDE="lighttpd" |
Hans-G?nter@22930 | 16 DEPENDS="gcc83-lib-base libxml2 libxslt openssl zlib" |
Hans-G?nter@22930 | 17 BUILD_DEPENDS="cmake gcc83 libxml2-dev libxslt-dev openssl-dev zlib-dev" |
Hans-G?nter@22930 | 18 |
pascal@12973 | 19 CONFIG_FILES="/etc/hiawatha" |
pascal@12973 | 20 |
pascal@24427 | 21 # What is the latest version available today? |
pascal@24427 | 22 current_version() |
pascal@24427 | 23 { |
pascal@24427 | 24 wget -O - ${WGET_URL%/*} 2>/dev/null | \ |
pascal@24427 | 25 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24427 | 26 } |
pascal@24427 | 27 |
pascal@12973 | 28 # Rules to configure and make the package. |
pascal@12973 | 29 compile_rules() |
pascal@12973 | 30 { |
pascal@21404 | 31 export CC=gcc-83 |
pascal@21404 | 32 export CXX=g++-83 |
Hans-G?nter@22930 | 33 |
Hans-G?nter@24644 | 34 mkdir _build && |
Hans-G?nter@24644 | 35 cd _build && |
Hans-G?nter@24644 | 36 cmake .. \ |
Hans-G?nter@24644 | 37 -D CMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@24644 | 38 -D CMAKE_INSTALL_SYSCONFDIR=/etc\ |
Hans-G?nter@24644 | 39 -D LOG_DIR=/var/log \ |
Hans-G?nter@24644 | 40 -D WEBROOT_DIR=/var/www \ |
Hans-G?nter@24644 | 41 -D PID_DIR=/var/run \ |
Hans-G?nter@24644 | 42 -D WORK_DIR=/var/lib && |
Hans-G?nter@24644 | 43 make install DESTDIR=$DESTDIR |
pascal@12973 | 44 } |
pascal@12973 | 45 |
pascal@12973 | 46 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12973 | 47 genpkg_rules() |
pascal@12973 | 48 { |
Hans-G?nter@24644 | 49 cook_copy_folders bin |
Hans-G?nter@24644 | 50 cook_copy_folders etc |
Hans-G?nter@24644 | 51 cook_copy_folders lib |
Hans-G?nter@24644 | 52 cook_copy_folders sbin |
Hans-G?nter@24644 | 53 cook_copy_folders var |
pascal@12973 | 54 } |