wok rev 24936

created recipe for mypaint-brushes
author Hans-G?nter Theisgen
date Thu Apr 14 09:08:33 2022 +0100 (23 months ago)
parents 11be4606a492
children a4f828dcc860
files libmypaint/receipt mypaint-brushes/receipt
line diff
     1.1 --- a/libmypaint/receipt	Thu Apr 14 07:26:00 2022 +0100
     1.2 +++ b/libmypaint/receipt	Thu Apr 14 09:08:33 2022 +0100
     1.3 @@ -12,6 +12,7 @@
     1.4  TARBALL="$PACKAGE-$VERSION.tar.xz"
     1.5  WGET_URL="https://github.com/mypaint/$PACKAGE/releases/download/v$VERSION/$TARBALL"
     1.6  
     1.7 +SUGGESTED="libmypaint-lang"
     1.8  DEPENDS="libjson-c"
     1.9  BUILD_DEPENDS="file libjson-c-dev"
    1.10  
    1.11 @@ -37,5 +38,5 @@
    1.12  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.13  genpkg_rules()
    1.14  {
    1.15 -	cook_copy_files *.so*
    1.16 +	cook_copy_files		*.so*
    1.17  }
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/mypaint-brushes/receipt	Thu Apr 14 09:08:33 2022 +0100
     2.3 @@ -0,0 +1,36 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="mypaint-brushes"
     2.7 +VERSION="2.0.2"
     2.8 +CATEGORY="graphics"
     2.9 +SHORT_DESC="Brushes used by MyPaint and other software using libmypaint."
    2.10 +MAINTAINER="maintainer@slitaz.org"
    2.11 +LICENSE="CC0"
    2.12 +WEB_SITE="https://github.com/mypaint/mypaint-brushes"
    2.13 +
    2.14 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    2.15 +WGET_URL="https://github.com/mypaint/$PACKAGE/releases/download/v$VERSION/$TARBALL"
    2.16 +
    2.17 +BUILD_DEPENDS="automake"
    2.18 +
    2.19 +# Rules to configure and make the package.
    2.20 +compile_rules()
    2.21 +{
    2.22 +	autoreconf -i &&
    2.23 +	./configure			\
    2.24 +		--prefix=/usr		\
    2.25 +		--sysconfdir=/etc	\
    2.26 +		--mandir=/usr/share/man \
    2.27 +		--localstatedir=/var &&
    2.28 +	make &&
    2.29 +	make install
    2.30 +}
    2.31 +
    2.32 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.33 +genpkg_rules()
    2.34 +{
    2.35 +	mkdir -p $fs/usr/lib
    2.36 +
    2.37 +	cook_copy_folders	mypaint-data
    2.38 +	cp -a $install/usr/share/pkgconfig	$fs/usr/lib
    2.39 +}