# SliTaz package receipt. PACKAGE="libesmtp" VERSION="1.1.0" CATEGORY="network" SHORT_DESC="A Library for submission of Electronic Mail." MAINTAINER="erjo@slitaz.org" LICENSE="GPL2" WEB_SITE="https://libesmtp.github.io/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/$PACKAGE/libESMTP/archive/v$VERSION.tar.gz" DEPENDS="gcc83-lib-base libltdl libssl" BUILD_DEPENDS="gcc83 meson openssl-dev" # What is the latest version available today? current_version() { wget -O - https://github.com/libesmtp/libESMTP/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { export CC=gcc-83 export CXX=g++-83 meson _build \ --prefix=/usr && ninja -C _build && ninja -C _build install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_files *.so* }