wok-next annotate glibmm/receipt @ rev 20588
e4rat: fix packing
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 14 15:12:31 2018 +0300 (2018-04-14) |
parents | ab7c63b80420 |
children | 342b30daff76 |
rev | line source |
---|---|
al@19733 | 1 # SliTaz package receipt v2. |
pankso@137 | 2 |
pankso@137 | 3 PACKAGE="glibmm" |
al@20095 | 4 VERSION="2.52.0" |
pankso@209 | 5 CATEGORY="x-window" |
al@20095 | 6 SHORT_DESC="C++ bindings for GLib" |
pankso@137 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@14996 | 8 LICENSE="LGPL2.1" |
al@20095 | 9 WEB_SITE="https://developer.gnome.org/glibmm/" |
al@20095 | 10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/glibmm.html" |
al@19682 | 11 |
yuripourre@16919 | 12 TARBALL="$PACKAGE-$VERSION.tar.xz" |
yuripourre@16918 | 13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL" |
pankso@137 | 14 |
pankso@9711 | 15 BUILD_DEPENDS="glib-dev libsigc++-dev" |
al@20405 | 16 SPLIT="libgiomm glibmm-dev" |
pankso@9711 | 17 |
al@20095 | 18 compile_rules() { |
al@19682 | 19 sed -i "/^libdocdir =/ s|\$(book_name)|glibmm-$VERSION|" docs/Makefile.in |
al@19682 | 20 |
al@20405 | 21 ./configure $CONFIGURE_ARGS && |
al@20405 | 22 fix libtool && |
al@20534 | 23 make && |
al@20534 | 24 make install |
pankso@137 | 25 } |
pankso@137 | 26 |
al@20095 | 27 genpkg_rules() { |
al@19733 | 28 case $PACKAGE in |
al@20405 | 29 glibmm) |
al@20405 | 30 copy libglibmm*.so* |
al@20405 | 31 DEPENDS="glib libsigc++" |
al@20405 | 32 ;; |
al@19733 | 33 libgiomm) |
al@19733 | 34 copy libgiomm*.so* |
al@19779 | 35 DEPENDS="glib glibmm libsigc++" |
al@19733 | 36 CAT="x-window|GIO Framework" |
al@19733 | 37 ;; |
al@20095 | 38 glibmm-dev) |
al@20405 | 39 copy @dev |
al@20405 | 40 DEPENDS="glibmm libgiomm \ |
al@20405 | 41 glib-dev libffi-dev libsigc++-dev pcre-dev util-linux-blkid-dev \ |
al@20405 | 42 util-linux-mount-dev util-linux-uuid-dev zlib-dev perl" |
al@20405 | 43 PROVIDE="libgiomm-dev" # single dev package now |
al@20095 | 44 ;; |
al@19733 | 45 esac |
pankso@137 | 46 } |