wok-next view mate-user-guide/receipt @ rev 21103
emacs: depends on emacs-common
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Jan 03 11:21:15 2019 +0200 (2019-01-03) |
parents | 86938c337ea6 |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="mate-user-guide"
4 VERSION="1.20.1"
5 CATEGORY="doc"
6 SHORT_DESC="MATE Desktop User Guide"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="FDL1.1"
9 WEB_SITE="https://github.com/mate-desktop/mate-user-guide"
10 HOST_ARCH="any"
12 TARBALL="$PACKAGE-$VERSION.tar.xz"
13 WGET_URL="http://pub.mate-desktop.org/releases/${VERSION%.*}/$TARBALL"
15 BUILD_DEPENDS="mate-common yelp-tools itstool glib-dev libxml2-tools"
16 SPLIT="$PACKAGE-de $PACKAGE-es $PACKAGE-fr $PACKAGE-it $PACKAGE-pt_BR \
17 $PACKAGE-ru"
19 compile_rules() {
20 ./configure \
21 $CONFIGURE_ARGS &&
22 make &&
23 make install || return 1
25 fix symlinks
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 mate-user-guide)
31 copy @std help/C/
32 ;;
33 *-de)
34 copy help/de/
35 CAT="doc|German"
36 DEPENDS="mate-user-guide"
37 ;;
38 *-es)
39 copy help/es/
40 CAT="doc|Spanish"
41 DEPENDS="mate-user-guide"
42 ;;
43 *-fr)
44 copy help/fr/
45 CAT="doc|French"
46 DEPENDS="mate-user-guide"
47 ;;
48 *-it)
49 copy help/it/
50 CAT="doc|Italian"
51 DEPENDS="mate-user-guide"
52 ;;
53 *-pt_BR)
54 copy help/pt_BR/
55 CAT="doc|Brazilian Portuguese"
56 DEPENDS="mate-user-guide"
57 ;;
58 *-ru)
59 copy help/ru/
60 CAT="doc|Russian"
61 DEPENDS="mate-user-guide"
62 ;;
63 esac
64 TAGS="MATE"
65 }