wok-next view libpeas/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 | 9e5dca6702bf |
children | 342b30daff76 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libpeas"
4 VERSION="1.22.0"
5 CATEGORY="libs"
6 SHORT_DESC="GObject Plugin System"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://wiki.gnome.org/Projects/Libpeas"
10 LFS="http://www.linuxfromscratch.org/blfs/view/stable/gnome/libpeas.html"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="$GNOME_MIRROR/libpeas/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="intltool gobject-introspection-dev gtk+3-dev python-dev \
16 pygobject3-dev gtk-doc"
17 SPLIT="libpeas-gtk libpeas-python libpeas-dev libpeas-demo"
19 compile_rules() {
20 ./configure $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 libpeas)
29 copy libpeas-1.0.so*
30 DEPENDS="glib gobject-introspection"
31 ;;
32 *-gtk)
33 copy libpeas-gtk-1.0.so*
34 DEPENDS="libpeas atk cairo gdk-pixbuf gtk+3 pango"
35 ;;
36 *-python)
37 copy libpythonloader.so
38 DEPENDS="libpeas python"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="${SPLIT/$PACKAGE/} atk-dev bzip2-dev cairo-dev \
43 fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev \
44 gobject-introspection-dev gtk+3-dev harfbuzz-dev libffi-dev \
45 libpng16-dev libxml2-dev pango-dev pcre-dev python \
46 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
47 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
48 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
49 ;;
50 *-demo)
51 copy peas-demo peas-demo/ hicolor/ @rm
52 find $fs -name '*.la' -delete
53 DEPENDS="libpeas-gtk"
54 ;;
55 esac
56 }