wok view libesmtp/receipt @ rev 24768
libwebkit: bison 3 fix
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 19 12:46:44 2022 +0000 (2022-03-19) |
parents | 544e47246b33 |
children | 7364ffdaaa60 |
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 }