wok-next annotate cairomm/receipt @ rev 20146
Up qemu-light (2.0.2)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 11:50:08 2017 +0100 (2017-11-01) |
parents | 2c48a1f40bb6 |
children | 835b3b8ce6ac |
rev | line source |
---|---|
al@19733 | 1 # SliTaz package receipt v2. |
pankso@833 | 2 |
pankso@833 | 3 PACKAGE="cairomm" |
al@20095 | 4 VERSION="1.12.2" |
pankso@833 | 5 CATEGORY="x-window" |
al@19683 | 6 SHORT_DESC="C++ interface to Cairo" |
pankso@833 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15004 | 8 LICENSE="LGPL2" |
al@19683 | 9 WEB_SITE="https://www.cairographics.org/" |
al@20095 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/cairomm.html" |
al@19683 | 11 |
pankso@833 | 12 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@833 | 13 WGET_URL="http://cairographics.org/releases/$TARBALL" |
pankso@833 | 14 |
al@19683 | 15 BUILD_DEPENDS="cairo-dev libsigc++-dev" |
al@19733 | 16 SPLIT="cairomm-dev" |
pankso@9779 | 17 |
al@20095 | 18 compile_rules() { |
al@19683 | 19 sed -i "/^libdocdir =/ s|\$(book_name)|cairomm-$VERSION|" docs/Makefile.in |
al@19683 | 20 |
al@19683 | 21 ./configure $CONFIGURE_ARGS && make && make install |
pankso@833 | 22 } |
pankso@833 | 23 |
al@20095 | 24 genpkg_rules() { |
al@19733 | 25 case $PACKAGE in |
al@19733 | 26 cairomm) |
al@19733 | 27 copy @std |
al@20095 | 28 DEPENDS="cairo freetype libpng16 libsigc++ xorg-libX11 \ |
al@20095 | 29 xorg-libXext xorg-libXrender zlib" |
al@19733 | 30 ;; |
al@19733 | 31 cairomm-dev) |
al@19733 | 32 copy @dev |
al@19733 | 33 DEPENDS="cairomm bzip2-dev cairo-dev fontconfig-dev freetype-dev \ |
al@20095 | 34 glib-dev harfbuzz-dev libpng16-dev libsigc++-dev libxml2-dev \ |
al@20095 | 35 pcre-dev xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev \ |
al@20095 | 36 xorg-libXext-dev xorg-libXrender-dev xorg-libxcb-dev \ |
al@20095 | 37 xorg-pixman-dev xz-dev zlib-dev" |
al@19733 | 38 ;; |
al@19733 | 39 esac |
pankso@833 | 40 } |