wok-6.x view libesmtp/receipt @ rev 24875

updated m4 (1.4.18 -> 1.4.19)
author Hans-G?nter Theisgen
date Thu Mar 31 10:07:36 2022 +0100 (2022-03-31)
parents 544e47246b33
children
line source
1 # SliTaz package receipt.
3 PACKAGE="libesmtp"
4 VERSION="1.1.0"
5 CATEGORY="network"
6 SHORT_DESC="A Library for submission of Electronic Mail."
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://libesmtp.github.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/$PACKAGE/libESMTP/archive/v$VERSION.tar.gz"
14 DEPENDS="gcc83-lib-base libltdl libssl"
15 BUILD_DEPENDS="gcc83 meson openssl-dev"
17 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://github.com/libesmtp/libESMTP/releases 2>/dev/null | \
21 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
22 }
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 export CC=gcc-83
28 export CXX=g++-83
30 meson _build \
31 --prefix=/usr &&
32 ninja -C _build &&
33 ninja -C _build install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 cook_copy_files *.so*
40 }