wok-next view cairomm/receipt @ rev 20206
Up PyQt-x11-gpl (4.12.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 04 09:19:58 2017 +0100 (2017-11-04) |
parents | 2c48a1f40bb6 |
children | 835b3b8ce6ac |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="cairomm"
4 VERSION="1.12.2"
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/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/cairomm.html"
12 TARBALL="$PACKAGE-$VERSION.tar.gz"
13 WGET_URL="http://cairographics.org/releases/$TARBALL"
15 BUILD_DEPENDS="cairo-dev libsigc++-dev"
16 SPLIT="cairomm-dev"
18 compile_rules() {
19 sed -i "/^libdocdir =/ s|\$(book_name)|cairomm-$VERSION|" docs/Makefile.in
21 ./configure $CONFIGURE_ARGS && make && make install
22 }
24 genpkg_rules() {
25 case $PACKAGE in
26 cairomm)
27 copy @std
28 DEPENDS="cairo freetype libpng16 libsigc++ xorg-libX11 \
29 xorg-libXext xorg-libXrender zlib"
30 ;;
31 cairomm-dev)
32 copy @dev
33 DEPENDS="cairomm bzip2-dev cairo-dev fontconfig-dev freetype-dev \
34 glib-dev harfbuzz-dev libpng16-dev libsigc++-dev libxml2-dev \
35 pcre-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev \
36 xorg-libXext-dev xorg-libXrender-dev xorg-libxcb-dev \
37 xorg-pixman-dev xz-dev zlib-dev"
38 ;;
39 esac
40 }