wok annotate mypaint-brushes/receipt @ rev 24936

created recipe for mypaint-brushes
author Hans-G?nter Theisgen
date Thu Apr 14 09:08:33 2022 +0100 (2022-04-14)
parents
children ea67ada22d06
rev   line source
Hans-G?nter@24936 1 # SliTaz package receipt.
Hans-G?nter@24936 2
Hans-G?nter@24936 3 PACKAGE="mypaint-brushes"
Hans-G?nter@24936 4 VERSION="2.0.2"
Hans-G?nter@24936 5 CATEGORY="graphics"
Hans-G?nter@24936 6 SHORT_DESC="Brushes used by MyPaint and other software using libmypaint."
Hans-G?nter@24936 7 MAINTAINER="maintainer@slitaz.org"
Hans-G?nter@24936 8 LICENSE="CC0"
Hans-G?nter@24936 9 WEB_SITE="https://github.com/mypaint/mypaint-brushes"
Hans-G?nter@24936 10
Hans-G?nter@24936 11 TARBALL="$PACKAGE-$VERSION.tar.xz"
Hans-G?nter@24936 12 WGET_URL="https://github.com/mypaint/$PACKAGE/releases/download/v$VERSION/$TARBALL"
Hans-G?nter@24936 13
Hans-G?nter@24936 14 BUILD_DEPENDS="automake"
Hans-G?nter@24936 15
Hans-G?nter@24936 16 # Rules to configure and make the package.
Hans-G?nter@24936 17 compile_rules()
Hans-G?nter@24936 18 {
Hans-G?nter@24936 19 autoreconf -i &&
Hans-G?nter@24936 20 ./configure \
Hans-G?nter@24936 21 --prefix=/usr \
Hans-G?nter@24936 22 --sysconfdir=/etc \
Hans-G?nter@24936 23 --mandir=/usr/share/man \
Hans-G?nter@24936 24 --localstatedir=/var &&
Hans-G?nter@24936 25 make &&
Hans-G?nter@24936 26 make install
Hans-G?nter@24936 27 }
Hans-G?nter@24936 28
Hans-G?nter@24936 29 # Rules to gen a SliTaz package suitable for Tazpkg.
Hans-G?nter@24936 30 genpkg_rules()
Hans-G?nter@24936 31 {
Hans-G?nter@24936 32 mkdir -p $fs/usr/lib
Hans-G?nter@24936 33
Hans-G?nter@24936 34 cook_copy_folders mypaint-data
Hans-G?nter@24936 35 cp -a $install/usr/share/pkgconfig $fs/usr/lib
Hans-G?nter@24936 36 }