wok-next view pluma/receipt @ rev 21725

busybox: add overrides
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 11:18:16 2020 +0000 (2020-09-01)
parents 6f5739796e82
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="pluma"
4 VERSION="1.20.2"
5 CATEGORY="text"
6 SHORT_DESC="A powerful text editor for MATE"
7 MAINTAINER="al.bobylev@gmail.com"
8 LICENSE="GPL2"
9 WEB_SITE="https://github.com/mate-desktop/pluma"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/mate-desktop/pluma/archive/v$VERSION.tar.gz"
14 BUILD_DEPENDS="mate-common yelp-tools-dev gtk-doc gobject-introspection-dev \
15 enchant-dev iso-codes-dev gtk3-dev gtksourceview3-dev libpeas-dev itstool \
16 libsm-dev"
17 SPLIT="$PACKAGE-dev $PACKAGE-plugins $PACKAGE"
19 compile_rules() {
20 ./autogen.sh \
21 $CONFIGURE_ARGS &&
22 fix libtool &&
23 make &&
24 make install || return 1
26 fix symlinks
27 }
29 genpkg_rules() {
30 case $PACKAGE in
31 *-dev)
32 copy @dev
33 DEPENDS="pluma pluma-plugins gtksourceview3-dev libpeas-dev"
34 ;;
35 *-plugins)
36 copy plugins/ @rm
37 find $fs -name '*.la' -delete
38 DEPENDS="pluma enchant gdk-pixbuf glib gtk3 gtksourceview3 \
39 libpeas libpeas-gtk libxml2 pango python"
40 CAT="text|plugins"
41 ;;
42 pluma)
43 copy @std @rm
44 rm -r $fs/usr/lib # -> plugins
45 DEPENDS="atk libcairo gdk-pixbuf glib gobject-introspection gtk3 \
46 gtksourceview3 libpeas libpeas-gtk pango libice libsm \
47 libx11"
48 ;;
49 esac
50 TAGS="MATE"
51 }