wok-6.x annotate libmypaint/receipt @ rev 25324
updated squid, squid-auth-helpers and squid-langpack (3.4.2 -> 5.6)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Jul 22 17:10:45 2022 +0100 (2022-07-22) |
parents | cc97ba804eb3 |
children | c3a6f662a1c1 |
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@24936 | 15 SUGGESTED="libmypaint-lang" |
Hans-G?nter@24809 | 16 DEPENDS="libjson-c" |
Hans-G?nter@24809 | 17 BUILD_DEPENDS="file libjson-c-dev" |
Hans-G?nter@24809 | 18 |
Hans-G?nter@24809 | 19 HOST_ARCH="i486 arm" |
Hans-G?nter@24809 | 20 |
pascal@24810 | 21 # What is the latest version available today? |
pascal@24810 | 22 current_version() |
pascal@24810 | 23 { |
pascal@24810 | 24 wget -O - ${WGET_URL%/down*} 2>/dev/null | \ |
pascal@24810 | 25 sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' |
pascal@24810 | 26 } |
pascal@24810 | 27 |
Hans-G?nter@24809 | 28 # Rules to configure and make the package. |
Hans-G?nter@24809 | 29 compile_rules() |
Hans-G?nter@24809 | 30 { |
Hans-G?nter@24809 | 31 ./configure \ |
Hans-G?nter@24809 | 32 --prefix=/usr \ |
Hans-G?nter@24809 | 33 --enable-static && |
Hans-G?nter@24809 | 34 make && |
Hans-G?nter@24809 | 35 make install |
Hans-G?nter@24809 | 36 } |
Hans-G?nter@24809 | 37 |
Hans-G?nter@24809 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
Hans-G?nter@24809 | 39 genpkg_rules() |
Hans-G?nter@24809 | 40 { |
Hans-G?nter@24936 | 41 cook_copy_files *.so* |
Hans-G?nter@24809 | 42 } |