wok-next annotate pangomm/receipt @ rev 20889
Check Repology info from y* to z* packages: complete
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jul 15 10:27:39 2018 +0300 (2018-07-15) |
parents | 10df65db91ad |
children | f48456621a9d |
rev | line source |
---|---|
al@20095 | 1 # SliTaz package receipt v2. |
pankso@2541 | 2 |
pankso@2541 | 3 PACKAGE="pangomm" |
al@20095 | 4 VERSION="2.40.1" |
pankso@2541 | 5 CATEGORY="x-window" |
al@20095 | 6 SHORT_DESC="Pango binding for GTKmm" |
pankso@2541 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
al@20095 | 9 WEB_SITE="https://developer.gnome.org/pangomm/" |
al@20095 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/pangomm.html" |
al@20095 | 11 |
devl547@17597 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
slaxemulator@9529 | 13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@2541 | 14 |
al@20095 | 15 BUILD_DEPENDS="glibmm-dev cairomm-dev pango-dev" |
al@20095 | 16 SPLIT="pangomm-dev" |
pascal@14996 | 17 |
al@20095 | 18 compile_rules() { |
al@20095 | 19 sed -i "/^libdocdir =/ s|\$(book_name)|pangomm-$VERSION|" docs/Makefile.in |
al@20095 | 20 |
al@20604 | 21 ./configure $CONFIGURE_ARGS && |
al@20604 | 22 fix libtool && |
al@20604 | 23 make && |
al@20604 | 24 make install |
pankso@2541 | 25 } |
pankso@2541 | 26 |
al@20095 | 27 genpkg_rules() { |
al@20095 | 28 case $PACKAGE in |
al@20095 | 29 pangomm) |
al@20095 | 30 copy @std |
al@20749 | 31 DEPENDS="cairomm glib glibmm libsigc++ pango" |
al@20095 | 32 ;; |
al@20095 | 33 *-dev) |
al@20095 | 34 copy @dev |
al@20749 | 35 DEPENDS="pangomm cairomm-dev glibmm-dev pango-dev" |
al@20095 | 36 ;; |
al@20095 | 37 esac |
pankso@2541 | 38 } |
slaxemulator@6397 | 39 |