wok-next view mate-menus/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
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 }