wok-next view gtkmm3/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | b367284a8ac3 |
children | 342b30daff76 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="gtkmm3"
4 VERSION="3.22.1"
5 CATEGORY="x-window"
6 SHORT_DESC="C++ Interfaces for GTK+3 and GNOME"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="LGPL2.1"
9 WEB_SITE="https://www.gtkmm.org/en/"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/x/gtkmm3.html"
12 TARBALL="gtkmm-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/gtkmm/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="gtk+3-dev libgiomm-dev pangomm-dev cairomm-dev glibmm-dev \
16 atkmm-dev"
17 SPLIT="gtkmm3-dev"
19 compile_rules() {
20 sed -i "/^libdocdir =/ s|\$(book_name)|gtkmm-$VERSION|" docs/Makefile.in
22 ./configure $CONFIGURE_ARGS &&
23 fix libtool &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 gtkmm3)
31 copy @std
32 DEPENDS="atk atkmm cairo cairomm gdk-pixbuf glib glibmm gtk+3 \
33 libgiomm libsigc++ pango pangomm"
34 PROVIDE="gtk3mm"
35 ;;
36 *-dev)
37 copy @dev
38 DEPENDS="gtkmm3 atk-dev atkmm-dev bzip2-dev cairo-dev cairomm-dev \
39 fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev glibmm-dev \
40 gtk+3-dev harfbuzz-dev libffi-dev libgiomm-dev libpng16-dev \
41 libsigc++-dev libxml2-dev pango-dev pangomm-dev pcre-dev \
42 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
43 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
44 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
45 PROVIDE="gtk3mm-dev"
46 ;;
47 esac
48 }