wok-next view glibmm/receipt @ rev 19734

Up cookutils(905) (v2)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat May 27 16:29:45 2017 +0300 (2017-05-27)
parents 28f443011cb6
children e70c0b9c5adf
line source
1 # SliTaz package receipt v2.
3 PACKAGE="glibmm"
4 VERSION="2.48.1"
5 CATEGORY="x-window"
6 SHORT_DESC="C++ interface for GTK+"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="LGPL2.1"
9 WEB_SITE="http://www.gtkmm.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
14 BUILD_DEPENDS="glib-dev libsigc++-dev"
15 SPLIT="libgiomm libgiomm-dev glibmm-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 sed -i "/^libdocdir =/ s|\$(book_name)|glibmm-$VERSION|" docs/Makefile.in
22 ./configure $CONFIGURE_ARGS && make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 case $PACKAGE in
29 glibmm)
30 copy libglibmm*.so*
31 DEPENDS="glib libsigc++ gcc-lib-base glibc-base"
32 ;;
33 glibmm-dev)
34 copy glibmm-2.4/ libglibmm*.la glibmm-2.4.pc
35 DEPENDS="glibmm libgiomm-dev libsigc++-dev glib-dev pkg-config"
36 ;;
37 libgiomm)
38 copy libgiomm*.so*
39 DEPENDS="glib glibmm libgio libsigc++"
40 CAT="x-window|GIO Framework"
41 ;;
42 libgiomm-dev)
43 copy giomm-2.4/ libgiomm*.la giomm-2.4.pc
44 DEPENDS="libgiomm pkg-config"
45 CAT="development|GIO Framework development files"
46 ;;
47 esac
48 }