wok view geany/receipt @ rev 20779

updated cellwriter (1.3.5 -> 1.3.6)
author Hans-G?nter Theisgen
date Thu Feb 14 13:52:33 2019 +0100 (2019-02-14)
parents 128aae84d74c
children af8d823a3077
line source
1 # SliTaz package receipt.
3 PACKAGE="geany"
4 VERSION="1.23.1"
5 CATEGORY="development"
6 SHORT_DESC="Small and fast IDE using GTK+ toolkit."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 SUGGESTED="geany-plugins vte"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://geany.uvena.de/"
12 WGET_URL="http://download.geany.org/$TARBALL"
13 TAGS="text-editor"
14 HOST_ARCH="i486 arm"
16 DEPENDS="glibc-base glib gcc-lib-base libgio expat zlib libxcb xcb-util \
17 gtk+ atk cairo pango pixman libpng fontconfig freetype xorg-libX11 \
18 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
19 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender"
20 BUILD_DEPENDS="glib-dev expat-dev gtk+-dev atk-dev pango-dev cairo-dev \
21 pixman-dev libpng-dev freetype-dev fontconfig-dev xorg-libXrender-dev \
22 xorg-xproto xorg-renderproto xorg-libX11-dev xorg-kbproto xorg-libXau-dev \
23 xorg-libXdmcp-dev libxml2-dev"
25 # Handle cross compilation.
26 case "$ARCH" in
27 i?86) BUILD_DEPENDS="$BUILD_DEPENDS perl-xml-parser intltool gettext glibc-locale" ;;
28 arm*) ARCH_ARGS="--disable-vte" ;;
29 esac
31 # Rules to configure and make the package.
32 compile_rules()
33 {
34 ./configure \
35 ${CONFIGURE_ARGS} ${ARCH_ARGS} &&
36 make && make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/share/pixmaps $fs/usr/lib/geany
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/geany/*.so $fs/usr/lib/geany
45 cp -a $install/usr/share/geany $fs/usr/share
46 cp -a $stuff/filetype_extensions.conf $fs/usr/share/geany
47 rm $fs/usr/share/geany/GPL-2
48 cp -a $install/usr/share/icons $fs/usr/share
49 cd $fs/usr/share
50 ln -sf /usr/share/icons/hicolor/48x48/apps/geany.png pixmaps/geany.png
51 }