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

created recipe for vbindiff
author Hans-G?nter Theisgen
date Sat Nov 21 14:32:44 2020 +0100 (2020-11-21)
parents 9102678083fb
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mate-menus"
4 VERSION="1.20.1"
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="$PACKAGE-python $PACKAGE $PACKAGE-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 *-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 }