wok-current view geany/receipt @ rev 14174

Add linuxconsoletools
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 09 13:08:54 2013 +0100 (2013-03-09)
parents e2b1ff2ea7cf
children 2b820e6838f5
line source
1 # SliTaz package receipt.
3 PACKAGE="geany"
4 VERSION="1.22"
5 CATEGORY="development"
6 SHORT_DESC="Small and fast IDE using GTK+ toolkit."
7 MAINTAINER="pankso@slitaz.org"
8 SUGGESTED="geany-plugins vte"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://geany.uvena.de/"
11 WGET_URL="http://download.geany.org/$TARBALL"
13 DEPENDS="glibc-base glib gcc-lib-base libgio expat zlib libxcb xcb-util \
14 gtk+ atk cairo pango pixman libpng fontconfig freetype \
15 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
16 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender"
17 BUILD_DEPENDS="glib-dev expat-dev gtk+-dev atk-dev pango-dev cairo-dev pixman-dev \
18 libpng-dev freetype-dev fontconfig-dev perl-xml-parser intltool gettext \
19 xorg-libXrender-dev xorg-xproto xorg-renderproto xorg-libX11-dev \
20 xorg-kbproto xorg-libXau-dev xorg-libXdmcp-dev glibc-locale"
22 # Rules to configure and make the package.
23 # Without vte : --disable-vte
24 compile_rules()
25 {
26 cd $src
27 ./configure $CONFIGURE_ARGS &&
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share/pixmaps $fs/usr/lib/geany
35 cp -a $install/usr/bin $fs/usr
36 cp -a $install/usr/lib/geany/*.so $fs/usr/lib/geany
37 cp -a $install/usr/share/geany $fs/usr/share
38 cp -a $stuff/filetype_extensions.conf $fs/usr/share/geany
39 rm $fs/usr/share/geany/GPL-2
40 cp -a $install/usr/share/icons $fs/usr/share
41 cd $fs/usr/share
42 ln -sf /usr/share/icons/hicolor/48x48/apps/geany.png pixmaps/geany.png
43 }