wok-next view mate-menus/receipt @ rev 20212

Up consonance (0.5.1)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Nov 04 18:41:56 2017 +0100 (2017-11-04)
parents afab00bd26c5
children 757d032c55c7
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mate-menus"
4 VERSION="1.18.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Library for the Desktop Menu freedesktop.org specification"
7 MAINTAINER="yuripourre@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/mate-desktop/mate-menus"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/mate-desktop/mate-menus/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="mate-common gobject-introspection-dev python-dev"
15 SPLIT="mate-menus-python mate-menus mate-menus-dev"
17 compile_rules() {
18 ./autogen.sh \
19 --sysconfdir=/etc \
20 --localstatedir=/var \
21 \
22 --enable-python \
23 $CONFIGURE_ARGS &&
24 make &&
25 make install
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 mate-menus-python)
31 copy python*/*.so *.py
32 DEPENDS="mate-menus python"
33 CAT="python|Python bindings"
34 ;;
35 mate-menus)
36 copy @std @rm
37 DEPENDS="glib libffi pcre util-linux-blkid util-linux-mount \
38 util-linux-uuid zlib"
39 ;;
40 *-dev)
41 copy @dev
42 DEPENDS="${SPLIT/$PACKAGE/} glib-dev libffi-dev pcre-dev \
43 python-dev util-linux-blkid-dev util-linux-mount-dev \
44 util-linux-uuid-dev zlib-dev"
45 ;;
46 esac
47 TAGS="MATE"
48 }