wok-next view pangomm/receipt @ rev 20672
font-manager: update bdeps / fix build
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri May 11 16:51:58 2018 +0300 (2018-05-11) |
parents | b367284a8ac3 |
children | 342b30daff76 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pangomm"
4 VERSION="2.40.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Pango binding for GTKmm"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://developer.gnome.org/pangomm/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/pangomm.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="glibmm-dev cairomm-dev pango-dev"
16 SPLIT="pangomm-dev"
18 compile_rules() {
19 sed -i "/^libdocdir =/ s|\$(book_name)|pangomm-$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 pangomm)
30 copy @std
31 DEPENDS="cairo cairomm glib glibmm libsigc++ pango"
32 ;;
33 *-dev)
34 copy @dev
35 DEPENDS="pangomm bzip2-dev cairo-dev cairomm-dev fontconfig-dev \
36 freetype-dev glib-dev glibmm-dev harfbuzz-dev libffi-dev \
37 libpng16-dev libsigc++-dev libxml2-dev pango-dev pcre-dev \
38 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
39 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
40 ;;
41 esac
42 }