wok-next view geany/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 | c4e53a39395a |
children | 342b30daff76 |
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/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://download.geany.org/$TARBALL"
14 BUILD_DEPENDS_arm="glib-dev expat-dev gtk+-dev atk-dev pango-dev cairo-dev \
15 xorg-pixman-dev libpng16-dev freetype-dev fontconfig-dev xorg-libXrender-dev \
16 xorg-xproto xorg-renderproto xorg-libX11-dev xorg-kbproto xorg-libXau-dev \
17 xorg-libXdmcp-dev libxml2-dev"
18 BUILD_DEPENDS="gtk+-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 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 }