wok-next view cairomm/receipt @ rev 21022
Combine rox-filer
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Nov 03 04:01:01 2018 +0200 (2018-11-03) |
parents | f48456621a9d |
children | 82b613cfd1e0 |
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="devel@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="https://www.cairographics.org/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/svn/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="$PACKAGE-dev"
18 compile_rules() {
19 sed -i "/^libdocdir =/ s|\$(book_name)|cairomm-$VERSION|" docs/Makefile.in
21 ./configure $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 cairomm)
30 copy @std
31 DEPENDS="cairo libsigc++"
32 ;;
33 cairomm-dev)
34 copy @dev
35 DEPENDS="cairomm cairo-dev libsigc++-dev"
36 ;;
37 esac
38 }