wok-current annotate libmypaint/receipt @ rev 25712
Use symlink for libxvmc-mesa
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Mon Jun 10 20:42:21 2024 +0000 (6 months ago) |
parents | 586749a1a896 |
children |
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" |
pascal@25539 | 10 WEB_SITE="https://web.archive.org/web/20230116050447/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 } |