SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "uacme"

# SliTaz package receipt.

PACKAGE="uacme"
VERSION="1.7.1"
CATEGORY="network"
SHORT_DESC="Lightweight client for ACMEv2 protocol."
MAINTAINER="shann@slitaz.org"
LICENSE="GPL3"
TARBALL="$VERSION.tar.gz"
WEB_SITE="http://github.com/ndilieto/uacme/"
WGET_URL="$WEB_SITE/archive/refs/tags/upstream/$TARBALL"
HOST_ARCH="i486 arm x86_64"

DEPENDS="libssl libcurl"
BUILD_DEPENDS="openssl-dev curl-dev libcurl"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure \
        --prefix=/usr \
        --without-gnutls \
            --disable-docs \
            --with-openssl \
            --disable-maintainer-mode

        # Set HAProxy path for acme challenge           
        sed -i 's#/var/www#/usr/share/haproxy#' uacme.sh

    make && make DESTDIR=$DESTDIR install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/bin $fs/usr/share
    cp -a $install/usr/bin/* $fs/usr/bin
        cp -a $install/usr/share/* $fs/usr/share
}
6093 packages and 258600 files in current database (Wed Apr 23 16:49:15 2025)