logo

overlay

My own overlay for experimentations, use with caution, no support is provided git clone https://hacktivis.me/git/overlay.git
commit: 134df2c5a8897d5afc2a57caabb09fad3effa3a9
parent d4594ccbe143cd21ffbe8a85f5e2c982d300be2f
Author: Haelwenn (lanodan) Monnier <contact@hacktivis.me>
Date:   Fri, 31 May 2024 08:28:54 +0200

www-servers/tipidee: new package, add 0.0.4.0

Diffstat:

Awww-servers/tipidee/Manifest1+
Awww-servers/tipidee/tipidee-0.0.4.0.ebuild38++++++++++++++++++++++++++++++++++++++
2 files changed, 39 insertions(+), 0 deletions(-)

diff --git a/www-servers/tipidee/Manifest b/www-servers/tipidee/Manifest @@ -0,0 +1 @@ +DIST tipidee-0.0.4.0.tar.gz 85878 BLAKE2B 7ee23cfaeff3ba03be6747785766c91a61b3b4b147f71baceef8382b8be4cd1cedef17f779151353a022b20d8127abcc7668a7b58baa8f06f69af9b508fb5e85 SHA512 d177f4c00db9855792dbddc4c96d2c75bd302443f29376e1d35d511d56964e5de11dd2cf4af3190d7465404c429eedfc17264715e4850d6b830a9e492ff25741 diff --git a/www-servers/tipidee/tipidee-0.0.4.0.ebuild b/www-servers/tipidee/tipidee-0.0.4.0.ebuild @@ -0,0 +1,38 @@ +# Copyright 2024 Haelwenn (lanodan) Monnier <contact@hacktivis.me> +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +inherit toolchain-funcs edo + +DESCRIPTION="HTTP 1.1 webserver, serving static files and CGI/NPH" +HOMEPAGE="https://www.skarnet.org/software/tipidee/" +SRC_URI="https://www.skarnet.org/software/tipidee/${P}.tar.gz" +LICENSE="ISC" +SLOT="0" +KEYWORDS="~amd64" +IUSE="static" + +DEPEND=">=dev-libs/skalibs-2.14.1.1" +RDEPEND="${DEPEND}" + +DOCS=( doc examples ) + +src_prepare() { + default + + sed -i -e '/AR := /d' -e '/RANLIB := /d' Makefile || die +} + +src_configure() { + tc-export AR CC RANLIB + + edo ./configure \ + ${CTARGET:+--target=${CTARGET}} \ + --host="${CHOST}" \ + --prefix="${EPREFIX}"/usr \ + --sysconfdir="${EPREFIX}"/etc \ + --with-sysdeps="/usr/$(get_libdir)/skalibs" \ + --disable-static \ + $(use_enable static static-libc) +}