wok-next view mate-menus/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 757d032c55c7 |
children | 342b30daff76 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mate-menus"
4 VERSION="1.18.0"
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="mate-menus-python mate-menus mate-menus-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 mate-menus-python)
29 copy python*/*.so *.py
30 DEPENDS="mate-menus python"
31 CAT="python|Python bindings"
32 ;;
33 mate-menus)
34 copy @std @rm
35 DEPENDS="glib libffi pcre util-linux-blkid util-linux-mount \
36 util-linux-uuid zlib"
37 ;;
38 *-dev)
39 copy @dev
40 DEPENDS="${SPLIT/$PACKAGE/} glib-dev libffi-dev pcre-dev \
41 python-dev util-linux-blkid-dev util-linux-mount-dev \
42 util-linux-uuid-dev zlib-dev"
43 ;;
44 esac
45 TAGS="MATE"
46 }