wok-next view geany/receipt @ rev 18138

Up chkrootkit (0.50), rkhunter (1.4.2)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Jun 15 09:16:13 2015 +0200 (2015-06-15)
parents 128aae84d74c
children e70c0b9c5adf
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 }