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

git update: 2.16.2 (Feb-2018) -> 2.17.1 (May-2018)
author Erkan Yilmaz <erkan@slitaz.org>
date Fri Jun 08 09:36:49 2018 +0000 (2018-06-08)
parents 556349764d57
children 9102678083fb
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 --enable-python \
20 $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 mate-menus-python)
29 copy python*/*.so *.py
30 DEPENDS="glib mate-menus python"
31 CAT="python|Python bindings"
32 ;;
33 mate-menus)
34 copy @std @rm
35 DEPENDS="glib"
36 ;;
37 *-dev)
38 copy @dev
39 DEPENDS="${SPLIT/$PACKAGE/} glib-dev"
40 ;;
41 esac
42 TAGS="MATE"
43 }