wok-6.x annotate hiawatha/receipt @ rev 23844
linld/readmenu: do not forget to lseek
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jun 13 10:41:01 2020 +0000 (2020-06-13) |
parents | c1f6210bc262 |
children | 83b97236db32 |
rev | line source |
---|---|
pascal@12973 | 1 # SliTaz package receipt. |
pascal@12973 | 2 |
pascal@12973 | 3 PACKAGE="hiawatha" |
Hans-G?nter@22930 | 4 VERSION="10.10" |
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@12973 | 21 # Rules to configure and make the package. |
pascal@12973 | 22 compile_rules() |
pascal@12973 | 23 { |
pascal@21404 | 24 export CC=gcc-83 |
pascal@21404 | 25 export CXX=g++-83 |
Hans-G?nter@22930 | 26 |
Hans-G?nter@22930 | 27 cmake . \ |
Hans-G?nter@22930 | 28 -DCMAKE_INSTALL_PREFIX=/usr \ |
Hans-G?nter@22930 | 29 -DCMAKE_INSTALL_SYSCONFDIR=/etc \ |
Hans-G?nter@22930 | 30 -DLOG_DIR=/var/log \ |
Hans-G?nter@22930 | 31 -DWEBROOT_DIR=/var/www \ |
Hans-G?nter@22930 | 32 -DPID_DIR=/var/run \ |
Hans-G?nter@22930 | 33 -DWORK_DIR=/var/lib && |
pascal@12973 | 34 make DESTDIR=$DESTDIR install |
pascal@12973 | 35 } |
pascal@12973 | 36 |
pascal@12973 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@12973 | 38 genpkg_rules() |
pascal@12973 | 39 { |
pascal@12973 | 40 mkdir -p $fs/usr |
Hans-G?nter@22930 | 41 |
Hans-G?nter@22930 | 42 cp -a $install/var $fs |
Hans-G?nter@22930 | 43 cp -a $install/etc $fs |
Hans-G?nter@22930 | 44 cp -a $install/usr/lib $fs/usr |
Hans-G?nter@22930 | 45 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@22930 | 46 cp -a $install/usr/sbin $fs/usr |
pascal@12973 | 47 } |