wok view libesmtp/receipt @ rev 25600

Update some current_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 16 15:14:43 2023 +0000 (17 months ago)
parents 0c6152afb7bb
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 '/tag\//!d;s|.*tag/v*||;s|".*||;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 }