wok-next annotate cairomm/receipt @ rev 20976
Follow recent changes in the Python renames
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Sep 25 17:35:51 2018 +0300 (2018-09-25) |
parents | 835b3b8ce6ac |
children | f48456621a9d |
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@20569 | 21 ./configure $CONFIGURE_ARGS && |
al@20569 | 22 fix libtool && |
al@20569 | 23 make && |
al@20569 | 24 make install |
pankso@833 | 25 } |
pankso@833 | 26 |
al@20095 | 27 genpkg_rules() { |
al@19733 | 28 case $PACKAGE in |
al@19733 | 29 cairomm) |
al@19733 | 30 copy @std |
al@20640 | 31 DEPENDS="cairo libsigc++" |
al@19733 | 32 ;; |
al@19733 | 33 cairomm-dev) |
al@19733 | 34 copy @dev |
al@20640 | 35 DEPENDS="cairomm cairo-dev libsigc++-dev" |
al@19733 | 36 ;; |
al@19733 | 37 esac |
pankso@833 | 38 } |