wok-next view libpeas/receipt @ rev 20137

mariadb: receipt v2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Oct 31 21:42:04 2017 +0100 (2017-10-31)
parents
children 9e5dca6702bf
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 && make && make install
21 }
23 genpkg_rules() {
24 case $PACKAGE in
25 libpeas)
26 copy libpeas-1.0.so*
27 DEPENDS="glib gobject-introspection"
28 ;;
29 *-gtk)
30 copy libpeas-gtk-1.0.so*
31 DEPENDS="libpeas atk cairo gdk-pixbuf gtk+3 pango"
32 ;;
33 *-python)
34 copy libpythonloader.so
35 DEPENDS="libpeas python"
36 ;;
37 *-dev)
38 copy @dev
39 DEPENDS="${SPLIT/$PACKAGE/} atk-dev bzip2-dev cairo-dev \
40 fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev \
41 gobject-introspection-dev gtk+3-dev harfbuzz-dev libffi-dev \
42 libpng16-dev libxml2-dev pango-dev pcre-dev python \
43 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
44 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
45 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
46 ;;
47 *-demo)
48 copy peas-demo peas-demo/ hicolor/ @rm
49 DEPENDS="libpeas-gtk"
50 ;;
51 esac
52 }