wok-next diff xorg-pixman/receipt @ rev 19918

Fix xombrero
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Oct 14 14:20:25 2017 +0300 (2017-10-14)
parents
children 0e7893ac206d
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/xorg-pixman/receipt	Sat Oct 14 14:20:25 2017 +0300
     1.3 @@ -0,0 +1,43 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="xorg-pixman"
     1.7 +VERSION="0.34.0"
     1.8 +CATEGORY="x-window"
     1.9 +SHORT_DESC="Pixel-manipulation library for X and Cairo"
    1.10 +MAINTAINER="pankso@slitaz.org"
    1.11 +LICENSE="MIT"
    1.12 +WEB_SITE="https://www.cairographics.org/"
    1.13 +HOST_ARCH="i486 arm"
    1.14 +
    1.15 +TARBALL="pixman-$VERSION.tar.bz2"
    1.16 +WGET_URL="$XORG_MIRROR/lib/$TARBALL"
    1.17 +
    1.18 +BUILD_DEPENDS="libpng16-dev"
    1.19 +SPLIT="xorg-pixman-dev"
    1.20 +PKG_RULE="std-dev"
    1.21 +
    1.22 +# Rules to configure and make the package.
    1.23 +compile_rules()
    1.24 +{
    1.25 +	./configure \
    1.26 +		--sysconfdir=/etc \
    1.27 +		--localstatedir=/var \
    1.28 +		$CONFIGURE_ARGS &&
    1.29 +	make &&
    1.30 +	make install
    1.31 +}
    1.32 +
    1.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.34 +genpkg_rules()
    1.35 +{
    1.36 +	case $PACKAGE in
    1.37 +		*-pixman)
    1.38 +			copy @std
    1.39 +			PROVIDE="pixman"
    1.40 +			;;
    1.41 +		*-dev)
    1.42 +			copy @dev
    1.43 +			PROVIDE="pixman-dev"
    1.44 +			;;
    1.45 +	esac
    1.46 +}