wok annotate pixman/receipt @ rev 24936
created recipe for mypaint-brushes
author | Hans-G?nter Theisgen |
---|---|
date | Thu Apr 14 09:08:33 2022 +0100 (2022-04-14) |
parents | 02a819b4fc09 |
children | 86267c34e70e |
rev | line source |
---|---|
pankso@831 | 1 # SliTaz package receipt. |
pankso@831 | 2 |
pankso@831 | 3 PACKAGE="pixman" |
Hans-G?nter@21684 | 4 VERSION="0.38.4" |
pankso@831 | 5 CATEGORY="x-window" |
Hans-G?nter@21684 | 6 SHORT_DESC="Pixel-manipulation library for X and Cairo." |
pankso@831 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15021 | 8 LICENSE="MIT" |
Hans-G?nter@21684 | 9 WEB_SITE="http://pixman.org/" |
Hans-G?nter@21684 | 10 |
al@14225 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@21684 | 12 WGET_URL="https://cairographics.org/releases/$TARBALL" |
pankso@831 | 13 |
al@14225 | 14 DEPENDS="glibc-base" |
al@14225 | 15 BUILD_DEPENDS="libpng-dev" |
al@14225 | 16 |
Hans-G?nter@21684 | 17 HOST_ARCH="i486 arm" |
Hans-G?nter@21684 | 18 |
pascal@24072 | 19 current_version() |
pascal@24072 | 20 { |
pascal@24072 | 21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \ |
pascal@24072 | 22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q |
pascal@24072 | 23 } |
pascal@24072 | 24 |
pankso@831 | 25 # Rules to configure and make the package. |
pankso@831 | 26 compile_rules() |
pankso@831 | 27 { |
Hans-G?nter@21684 | 28 ./configure \ |
Hans-G?nter@21684 | 29 --enable-gtk=no \ |
Hans-G?nter@21684 | 30 --enable-libpng \ |
pankso@12509 | 31 $CONFIGURE_ARGS && |
al@14225 | 32 make && |
al@14225 | 33 make install |
pankso@831 | 34 } |
pankso@831 | 35 |
pankso@831 | 36 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@831 | 37 genpkg_rules() |
pankso@831 | 38 { |
pankso@831 | 39 mkdir -p $fs/usr/lib |
pankso@12509 | 40 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pankso@831 | 41 } |