wok-next annotate 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 |
rev | line source |
---|---|
al@20096 | 1 # SliTaz package receipt v2. |
yuripourre@17800 | 2 |
yuripourre@17800 | 3 PACKAGE="mate-menus" |
al@20938 | 4 VERSION="1.20.1" |
al@20096 | 5 CATEGORY="x-window" |
al@20096 | 6 SHORT_DESC="Library for the Desktop Menu freedesktop.org specification" |
yuripourre@17800 | 7 MAINTAINER="yuripourre@gmail.com" |
al@20096 | 8 LICENSE="GPL2" |
al@20096 | 9 WEB_SITE="https://github.com/mate-desktop/mate-menus" |
al@20096 | 10 |
yuripourre@17800 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
al@20096 | 12 WGET_URL="https://github.com/mate-desktop/mate-menus/archive/v$VERSION.tar.gz" |
yuripourre@17800 | 13 |
al@20096 | 14 BUILD_DEPENDS="mate-common gobject-introspection-dev python-dev" |
al@21020 | 15 SPLIT="$PACKAGE-python $PACKAGE $PACKAGE-dev" |
al@20096 | 16 |
al@20096 | 17 compile_rules() { |
al@20096 | 18 ./autogen.sh \ |
al@20096 | 19 --enable-python \ |
yuripourre@17800 | 20 $CONFIGURE_ARGS && |
al@20599 | 21 fix libtool && |
yuripourre@17800 | 22 make && |
al@20096 | 23 make install |
yuripourre@17800 | 24 } |
yuripourre@17800 | 25 |
al@20096 | 26 genpkg_rules() { |
al@20096 | 27 case $PACKAGE in |
al@21020 | 28 *-python) |
al@20096 | 29 copy python*/*.so *.py |
al@20749 | 30 DEPENDS="glib mate-menus python" |
al@20096 | 31 CAT="python|Python bindings" |
al@20096 | 32 ;; |
al@20096 | 33 mate-menus) |
al@20096 | 34 copy @std @rm |
al@20749 | 35 DEPENDS="glib" |
al@20096 | 36 ;; |
al@20096 | 37 *-dev) |
al@20096 | 38 copy @dev |
al@20749 | 39 DEPENDS="${SPLIT/$PACKAGE/} glib-dev" |
al@20096 | 40 ;; |
al@20096 | 41 esac |
al@20096 | 42 TAGS="MATE" |
yuripourre@17800 | 43 } |