wok-next view cairomm/receipt @ rev 19769
Update Perl XS modules that need perl-dev to build (unlike Pure Perl), rebuild all module packages as Perl version change.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jun 14 09:51:23 2017 +0300 (2017-06-14) |
parents | 3c8c4006ed5c |
children | b367284a8ac3 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cairomm"
4 VERSION="1.12.0"
5 CATEGORY="x-window"
6 SHORT_DESC="C++ interface to Cairo"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://www.cairographics.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="http://cairographics.org/releases/$TARBALL"
14 BUILD_DEPENDS="cairo-dev libsigc++-dev"
15 SPLIT="cairomm-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i "/^libdocdir =/ s|\$(book_name)|cairomm-$VERSION|" docs/Makefile.in
22 ./configure $CONFIGURE_ARGS && make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 case $PACKAGE in
29 cairomm)
30 copy @std
31 DEPENDS="cairo freetype libpng libsigc++ xorg-libX11 xorg-libXext \
32 xorg-libXrender zlib"
33 ;;
34 cairomm-dev)
35 copy @dev
36 DEPENDS="cairomm bzip2-dev cairo-dev fontconfig-dev freetype-dev \
37 glib-dev harfbuzz-dev liblzma-dev libpng-dev libsigc++-dev \
38 libxcb-dev libxml2-dev pcre-dev pixman-dev xorg-libX11-dev \
39 xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
40 xorg-libXrender-dev zlib-dev"
41 ;;
42 esac
43 }