wok-next annotate mate-menus/receipt @ rev 20607
perdition: up 2.2
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 19 15:57:59 2018 +0300 (2018-04-19) |
parents | 757d032c55c7 |
children | 342b30daff76 |
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@20096 | 30 DEPENDS="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@20096 | 35 DEPENDS="glib libffi pcre util-linux-blkid util-linux-mount \ |
al@20096 | 36 util-linux-uuid zlib" |
al@20096 | 37 ;; |
al@20096 | 38 *-dev) |
al@20096 | 39 copy @dev |
al@20096 | 40 DEPENDS="${SPLIT/$PACKAGE/} glib-dev libffi-dev pcre-dev \ |
al@20096 | 41 python-dev util-linux-blkid-dev util-linux-mount-dev \ |
al@20096 | 42 util-linux-uuid-dev zlib-dev" |
al@20096 | 43 ;; |
al@20096 | 44 esac |
al@20096 | 45 TAGS="MATE" |
yuripourre@17800 | 46 } |