wok-current annotate babl/receipt @ rev 23343
updated perl-http-daemon (6.01 -> 6.06)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 31 09:12:15 2020 +0100 (2020-03-31) |
parents | ec8a5b44e2fd |
children | 05c8d8d9d934 |
rev | line source |
---|---|
erjo@1645 | 1 # SliTaz package receipt. |
erjo@1645 | 2 |
erjo@1645 | 3 PACKAGE="babl" |
Hans-G?nter@22525 | 4 VERSION="0.1.72" |
erjo@1645 | 5 CATEGORY="system-tools" |
Hans-G?nter@22525 | 6 SHORT_DESC="Pixel format translation library." |
erjo@1645 | 7 MAINTAINER="erjo@slitaz.org" |
pascal@14997 | 8 LICENSE="LGPL3" |
erjo@1645 | 9 WEB_SITE="http://gegl.org/babl/" |
Hans-G?nter@22525 | 10 |
Hans-G?nter@22525 | 11 TARBALL="$PACKAGE-$VERSION.tar.xz" |
Hans-G?nter@22525 | 12 WGET_URL="http://download.gimp.org/pub/$PACKAGE/${VERSION%.*}/$TARBALL" |
Hans-G?nter@22525 | 13 |
Hans-G?nter@22525 | 14 DEPENDS="gcc83-lib-base gobject-introspection lcms2" |
Hans-G?nter@22525 | 15 BUILD_DEPENDS="gcc83 gobject-introspection-dev lcms2-dev meson ninja" |
Hans-G?nter@22525 | 16 |
pankso@16580 | 17 HOST_ARCH="i486 arm" |
erjo@1645 | 18 |
erjo@1645 | 19 # Rules to configure and make the package. |
erjo@1645 | 20 compile_rules() |
erjo@1645 | 21 { |
Hans-G?nter@22525 | 22 export CC=gcc-83 |
Hans-G?nter@22525 | 23 export CXX=g++-83 |
Hans-G?nter@22525 | 24 |
Hans-G?nter@22525 | 25 meson build --prefix=/usr |
Hans-G?nter@22525 | 26 cd build |
Hans-G?nter@22525 | 27 ninja && |
Hans-G?nter@22525 | 28 ninja install |
erjo@1645 | 29 } |
erjo@1645 | 30 |
erjo@1645 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1645 | 32 genpkg_rules() |
erjo@1645 | 33 { |
erjo@1645 | 34 mkdir -p $fs/usr/lib |
Hans-G?nter@22525 | 35 |
Hans-G?nter@22525 | 36 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@22525 | 37 cp -a $install/usr/lib/babl-* $fs/usr/lib |
Hans-G?nter@22525 | 38 # rm $fs/usr/lib/babl-*/*.*a |
erjo@1645 | 39 } |
erjo@1645 | 40 |