wok annotate babl/receipt @ rev 25551
nfs-utils: make nfsd work on first start too
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 06 10:52:37 2023 +0100 (19 months ago) |
parents | bc2b9d9bed6f |
children | b81ceff0b056 |
rev | line source |
---|---|
erjo@1645 | 1 # SliTaz package receipt. |
erjo@1645 | 2 |
erjo@1645 | 3 PACKAGE="babl" |
Hans-G?nter@24349 | 4 VERSION="0.1.88" |
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@24349 | 12 WGET_URL="https://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 |
pascal@24351 | 19 # What is the latest version available today? |
pascal@24351 | 20 current_version() |
pascal@24351 | 21 { |
pascal@24351 | 22 wget -O - https://download.gimp.org/pub/$PACKAGE/ 2>/dev/null | \ |
pascal@24695 | 23 sed "/latest/d;/\[DIR/!d;s|.*href=.\\(.*\\)/.*\".*|https://download.gimp.org/pub/$PACKAGE/\\1|" | \ |
pascal@24695 | 24 sort -Vr | sed q | xargs wget -O - 2>/dev/null | \ |
pascal@24351 | 25 sed "/latest/d;/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24351 | 26 } |
pascal@24351 | 27 |
erjo@1645 | 28 # Rules to configure and make the package. |
erjo@1645 | 29 compile_rules() |
erjo@1645 | 30 { |
Hans-G?nter@22525 | 31 export CC=gcc-83 |
Hans-G?nter@22525 | 32 export CXX=g++-83 |
Hans-G?nter@22525 | 33 |
Hans-G?nter@24349 | 34 meson _build \ |
Hans-G?nter@24349 | 35 --prefix=/usr |
Hans-G?nter@24349 | 36 ninja -C _build && |
Hans-G?nter@24349 | 37 ninja -C _build install |
erjo@1645 | 38 } |
erjo@1645 | 39 |
erjo@1645 | 40 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@1645 | 41 genpkg_rules() |
erjo@1645 | 42 { |
erjo@1645 | 43 mkdir -p $fs/usr/lib |
Hans-G?nter@22525 | 44 |
Hans-G?nter@22525 | 45 cp -a $install/usr/lib/*.so* $fs/usr/lib |
Hans-G?nter@22525 | 46 cp -a $install/usr/lib/babl-* $fs/usr/lib |
Hans-G?nter@22525 | 47 # rm $fs/usr/lib/babl-*/*.*a |
erjo@1645 | 48 } |