wok-next view glibmm/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 | ab7c63b80420 |
children | 342b30daff76 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="glibmm"
4 VERSION="2.52.0"
5 CATEGORY="x-window"
6 SHORT_DESC="C++ bindings for GLib"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://developer.gnome.org/glibmm/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/general/glibmm.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="glib-dev libsigc++-dev"
16 SPLIT="libgiomm glibmm-dev"
18 compile_rules() {
19 sed -i "/^libdocdir =/ s|\$(book_name)|glibmm-$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 glibmm)
30 copy libglibmm*.so*
31 DEPENDS="glib libsigc++"
32 ;;
33 libgiomm)
34 copy libgiomm*.so*
35 DEPENDS="glib glibmm libsigc++"
36 CAT="x-window|GIO Framework"
37 ;;
38 glibmm-dev)
39 copy @dev
40 DEPENDS="glibmm libgiomm \
41 glib-dev libffi-dev libsigc++-dev pcre-dev util-linux-blkid-dev \
42 util-linux-mount-dev util-linux-uuid-dev zlib-dev perl"
43 PROVIDE="libgiomm-dev" # single dev package now
44 ;;
45 esac
46 }