wok-next view geany/receipt @ rev 20200
libgnomeprint: add bison 3 patch
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Nov 03 17:38:15 2017 +0100 (2017-11-03) |
parents | e70c0b9c5adf |
children | bce36a298f1e |
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="http://www.geany.org/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="http://download.geany.org/$TARBALL"
15 BUILD_DEPENDS_arm="glib-dev expat-dev gtk+-dev atk-dev pango-dev cairo-dev \
16 pixman-dev libpng-dev freetype-dev fontconfig-dev xorg-libXrender-dev \
17 xorg-xproto xorg-renderproto xorg-libX11-dev xorg-kbproto xorg-libXau-dev \
18 xorg-libXdmcp-dev libxml2-dev"
19 BUILD_DEPENDS="gtk+-dev intltool python-lxml python-docutils"
20 SPLIT="geany-doc geany-dev"
22 compile_rules() {
23 sed -i '/_Keywords=/d' $src/geany.desktop.in
25 case "$ARCH" in
26 arm*) ARCH_ARGS="--disable-vte";;
27 esac
29 ./configure \
30 $ARCH_ARGS $CONFIGURE_ARGS &&
31 make && make install
32 }
34 genpkg_rules() {
35 case $PACKAGE in
36 geany)
37 copy @std
38 rm -r $fs/usr/share/icons/; cook_copy_icons
39 DEPENDS="atk bzlib cairo fontconfig freetype gdk-pixbuf glib gtk+ \
40 libffi libharfbuzz liblzma libpng16 libxml2 pango pcre python \
41 util-linux-blkid util-linux-mount util-linux-uuid xorg-libX11 \
42 xorg-libXau xorg-libXdmcp xorg-libXext xorg-libXrender xorg-libxcb \
43 xorg-pixman zlib"
44 SUGGESTED="geany-plugins vte"
45 TAGS="text-editor"
46 ;;
47 geany-doc)
48 CAT="docs|official documentation"
49 copy doc/
50 ;;
51 geany-dev)
52 copy @dev
53 DEPENDS="geany atk-dev bzip2-dev cairo-dev fontconfig-dev \
54 freetype-dev gdk-pixbuf-dev glib-dev gtk+-dev harfbuzz-dev \
55 libffi-dev libpng16-dev libxml2-dev pango-dev pcre-dev \
56 util-linux-blkid-dev util-linux-mount-dev util-linux-uuid-dev \
57 xorg-libX11-dev xorg-libXau-dev xorg-libXdmcp-dev xorg-libXext-dev \
58 xorg-libXrender-dev xorg-libxcb-dev xorg-pixman-dev xz-dev zlib-dev"
59 ;;
60 esac
61 }