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