wok-6.x annotate babl/receipt @ rev 24192
updated perl-date-manip (6.81 -> 6.86)
author | Hans-G?nter Theisgen |
---|---|
date | Fri Dec 31 14:44:57 2021 +0100 (2021-12-31) |
parents | 44de6fc18c6b |
children | f73dc49d0a42 |
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" |
pascal@23974 | 9 WEB_SITE="https://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 |