# HG changeset patch # User Hans-G?nter Theisgen # Date 1649923713 -3600 # Node ID 586749a1a8961205a3da93d8727460b7606ff922 # Parent 11be4606a492cfad4992e7f63a093d05e54160c9 created recipe for mypaint-brushes diff -r 11be4606a492 -r 586749a1a896 libmypaint/receipt --- a/libmypaint/receipt Thu Apr 14 07:26:00 2022 +0100 +++ b/libmypaint/receipt Thu Apr 14 09:08:33 2022 +0100 @@ -12,6 +12,7 @@ TARBALL="$PACKAGE-$VERSION.tar.xz" WGET_URL="https://github.com/mypaint/$PACKAGE/releases/download/v$VERSION/$TARBALL" +SUGGESTED="libmypaint-lang" DEPENDS="libjson-c" BUILD_DEPENDS="file libjson-c-dev" @@ -37,5 +38,5 @@ # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { - cook_copy_files *.so* + cook_copy_files *.so* } diff -r 11be4606a492 -r 586749a1a896 mypaint-brushes/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/mypaint-brushes/receipt Thu Apr 14 09:08:33 2022 +0100 @@ -0,0 +1,36 @@ +# SliTaz package receipt. + +PACKAGE="mypaint-brushes" +VERSION="2.0.2" +CATEGORY="graphics" +SHORT_DESC="Brushes used by MyPaint and other software using libmypaint." +MAINTAINER="maintainer@slitaz.org" +LICENSE="CC0" +WEB_SITE="https://github.com/mypaint/mypaint-brushes" + +TARBALL="$PACKAGE-$VERSION.tar.xz" +WGET_URL="https://github.com/mypaint/$PACKAGE/releases/download/v$VERSION/$TARBALL" + +BUILD_DEPENDS="automake" + +# Rules to configure and make the package. +compile_rules() +{ + autoreconf -i && + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var && + make && + make install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/lib + + cook_copy_folders mypaint-data + cp -a $install/usr/share/pkgconfig $fs/usr/lib +}