wok-next view libdbusmenu-gtk2/receipt @ rev 20558
openmotif: fix syntax error in receipt
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Apr 07 16:14:50 2018 +0300 (2018-04-07) |
parents | b367284a8ac3 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="libdbusmenu-gtk2"
4 VERSION="16.04.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Library for passing menus over DBus (GTK+2)"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL3 LGPL2.1 LGPL3"
9 WEB_SITE="https://launchpad.net/libdbusmenu"
11 TARBALL="libdbusmenu-$VERSION.tar.gz"
12 WGET_URL="https://launchpad.net/libdbusmenu/${VERSION%.*}/$VERSION/+download/$TARBALL"
14 BUILD_DEPENDS="intltool gtk-doc gtk+-dev gtk+-dev json-glib-dev \
15 gobject-introspection-dev vala"
16 SPLIT="libdbusmenu-gtk2-apps libdbusmenu-gtk2 libdbusmenu-gtk2-dev"
17 SIBLINGS="libdbusmenu-gtk3"
19 compile_rules() {
20 ./configure \
21 --with-gtk=2 \
22 $CONFIGURE_ARGS &&
23 make &&
24 make -j1 DESTDIR=$install install # please keep DESTDIR, or it will be partial installed
25 }
27 genpkg_rules() {
28 case $PACKAGE in
29 libdbusmenu-gtk2-apps)
30 copy libexec/
31 DEPENDS="libdbusmenu-gtk2 xorg-libX11"
32 CAT="development|applications"
33 ;;
34 libdbusmenu-gtk2)
35 copy @std @rm
36 DEPENDS="atk cairo fontconfig freetype gdk-pixbuf glib gtk+ \
37 json-glib pango"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="${SPLIT/$PACKAGE/} atk-dev bzip2-dev cairo-dev \
42 fontconfig-dev freetype-dev gdk-pixbuf-dev glib-dev gtk+-dev \
43 harfbuzz-dev json-glib-dev libffi-dev libpng16-dev libxml2-dev \
44 pango-dev pcre-dev util-linux-blkid-dev util-linux-mount-dev \
45 util-linux-uuid-dev xorg-libX11-dev xorg-libXau-dev \
46 xorg-libXdmcp-dev xorg-libXext-dev xorg-libXrender-dev \
47 xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
48 ;;
49 esac
50 }