wok-next view geany/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | f99935f1778a |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="geany"
4 VERSION="1.31"
5 CATEGORY="development"
6 SHORT_DESC="Small and fast IDE using GTK+ toolkit"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.geany.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://download.geany.org/$TARBALL"
14 BUILD_DEPENDS_arm="glib-dev expat-dev gtk2-dev atk-dev pango-dev cairo-dev \
15 xorg-pixman-dev libpng16-dev freetype-dev fontconfig-dev xorg-libXrender-dev \
16 xorg-libX11-dev xorg-xorgproto xorg-libXau-dev \
17 xorg-libXdmcp-dev libxml2-dev"
18 BUILD_DEPENDS="gtk2-dev intltool python-lxml python-docutils"
19 SPLIT="geany-doc geany-dev"
21 compile_rules() {
22 sed -i '/_Keywords=/d' $src/geany.desktop.in
24 case "$ARCH" in
25 arm*) ARCH_ARGS="--disable-vte";;
26 esac
28 ./configure \
29 $ARCH_ARGS $CONFIGURE_ARGS &&
30 fix libtool &&
31 make &&
32 make install
33 }
35 genpkg_rules() {
36 case $PACKAGE in
37 geany)
38 copy @std @ico
39 DEPENDS="atk cairo gdk-pixbuf glib gtk2 pango python"
40 SUGGESTED="geany-plugins vte"
41 TAGS="text-editor"
42 ;;
43 geany-doc)
44 CAT="docs|official documentation"
45 copy doc/
46 ;;
47 geany-dev)
48 copy @dev
49 DEPENDS="geany glib-dev gtk2-dev"
50 ;;
51 esac
52 }