wok-next annotate mate-menus/receipt @ rev 20455

Update alsa
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Mar 01 20:46:32 2018 +0200 (2018-03-01)
parents afab00bd26c5
children 757d032c55c7
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 --sysconfdir=/etc \
al@20096 20 --localstatedir=/var \
al@20096 21 \
al@20096 22 --enable-python \
yuripourre@17800 23 $CONFIGURE_ARGS &&
yuripourre@17800 24 make &&
al@20096 25 make install
yuripourre@17800 26 }
yuripourre@17800 27
al@20096 28 genpkg_rules() {
al@20096 29 case $PACKAGE in
al@20096 30 mate-menus-python)
al@20096 31 copy python*/*.so *.py
al@20096 32 DEPENDS="mate-menus python"
al@20096 33 CAT="python|Python bindings"
al@20096 34 ;;
al@20096 35 mate-menus)
al@20096 36 copy @std @rm
al@20096 37 DEPENDS="glib libffi pcre util-linux-blkid util-linux-mount \
al@20096 38 util-linux-uuid zlib"
al@20096 39 ;;
al@20096 40 *-dev)
al@20096 41 copy @dev
al@20096 42 DEPENDS="${SPLIT/$PACKAGE/} glib-dev libffi-dev pcre-dev \
al@20096 43 python-dev util-linux-blkid-dev util-linux-mount-dev \
al@20096 44 util-linux-uuid-dev zlib-dev"
al@20096 45 ;;
al@20096 46 esac
al@20096 47 TAGS="MATE"
yuripourre@17800 48 }