wok-next view cairomm/receipt @ rev 20690
add missing SHA256sums
author | Erkan Yilmaz <erkan@slitaz.org> |
---|---|
date | Mon May 21 19:36:47 2018 +0000 (2018-05-21) |
parents | 835b3b8ce6ac |
children | f48456621a9d |
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 &&
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 }