wok-next annotate mate-menus/receipt @ rev 20889
Check Repology info from y* to z* packages: complete
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sun Jul 15 10:27:39 2018 +0300 (2018-07-15) |
parents | 556349764d57 |
children | 9102678083fb |
rev | line source |
---|---|
al@20096 | 1 # SliTaz package receipt v2. |
yuripourre@17800 | 2 |
yuripourre@17800 | 3 PACKAGE="mate-menus" |
al@20096 | 4 VERSION="1.18.0" |
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@20096 | 15 SPLIT="mate-menus-python mate-menus mate-menus-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@20096 | 28 mate-menus-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 } |