wok annotate libmypaint/receipt @ rev 24928

updated msmtp (1.8.7 -> 1.8.20)
author Hans-G?nter Theisgen
date Wed Apr 13 15:47:53 2022 +0100 (2022-04-13)
parents 9d5f9f1ab1eb
children 586749a1a896
rev   line source
Hans-G?nter@24809 1 # SliTaz package receipt.
Hans-G?nter@24809 2
Hans-G?nter@24809 3 PACKAGE="libmypaint"
Hans-G?nter@24809 4 VERSION="1.6.1"
Hans-G?nter@24809 5 CATEGORY="development"
Hans-G?nter@24809 6 TAGS="paint"
Hans-G?nter@24809 7 SHORT_DESC="Library for making brushstrokes which is used by MyPaint and other projects."
Hans-G?nter@24809 8 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@24809 9 LICENSE="ISC"
Hans-G?nter@24809 10 WEB_SITE="http://mypaint.org/"
Hans-G?nter@24809 11
Hans-G?nter@24809 12 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@24809 13 WGET_URL="https://github.com/mypaint/$PACKAGE/releases/download/v$VERSION/$TARBALL"
Hans-G?nter@24809 14
Hans-G?nter@24809 15 DEPENDS="libjson-c"
Hans-G?nter@24809 16 BUILD_DEPENDS="file libjson-c-dev"
Hans-G?nter@24809 17
Hans-G?nter@24809 18 HOST_ARCH="i486 arm"
Hans-G?nter@24809 19
pascal@24810 20 # What is the latest version available today?
pascal@24810 21 current_version()
pascal@24810 22 {
pascal@24810 23 wget -O - ${WGET_URL%/down*} 2>/dev/null | \
pascal@24810 24 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q'
pascal@24810 25 }
pascal@24810 26
Hans-G?nter@24809 27 # Rules to configure and make the package.
Hans-G?nter@24809 28 compile_rules()
Hans-G?nter@24809 29 {
Hans-G?nter@24809 30 ./configure \
Hans-G?nter@24809 31 --prefix=/usr \
Hans-G?nter@24809 32 --enable-static &&
Hans-G?nter@24809 33 make &&
Hans-G?nter@24809 34 make install
Hans-G?nter@24809 35 }
Hans-G?nter@24809 36
Hans-G?nter@24809 37 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@24809 38 genpkg_rules()
Hans-G?nter@24809 39 {
Hans-G?nter@24809 40 cook_copy_files *.so*
Hans-G?nter@24809 41 }