wok view pixman/receipt @ rev 24175

Up usbids (20211224)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu Dec 30 11:41:25 2021 +0000 (2021-12-30)
parents 02a819b4fc09
children 86267c34e70e
line source
1 # SliTaz package receipt.
3 PACKAGE="pixman"
4 VERSION="0.38.4"
5 CATEGORY="x-window"
6 SHORT_DESC="Pixel-manipulation library for X and Cairo."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://pixman.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://cairographics.org/releases/$TARBALL"
14 DEPENDS="glibc-base"
15 BUILD_DEPENDS="libpng-dev"
17 HOST_ARCH="i486 arm"
19 current_version()
20 {
21 wget -O - $(dirname $WGET_URL) 2>/dev/null | \
22 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-\\(.*\\).tar.*\".*|\\1|" | sort -Vr | sed q
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 ./configure \
29 --enable-gtk=no \
30 --enable-libpng \
31 $CONFIGURE_ARGS &&
32 make &&
33 make install
34 }
36 # Rules to gen a SliTaz package suitable for Tazpkg.
37 genpkg_rules()
38 {
39 mkdir -p $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 }