wok-current view geany/receipt @ rev 10786
geany: it also provide custom icon for UI, so symlink logo for pixmaps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jun 01 14:04:02 2011 +0200 (2011-06-01) |
parents | a4dc7e2acfab |
children | e2b1ff2ea7cf |
line source
1 # SliTaz package receipt.
3 PACKAGE="geany"
4 VERSION="0.20"
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
35 cp -a $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/share/geany $fs/usr/share
37 cp -a $stuff/filetype_extensions.conf $fs/usr/share/geany
38 rm $fs/usr/share/geany/GPL-2
39 cp -a $_pkg/usr/share/icons $fs/usr/share
40 cd $fs/usr/share
41 ln -s icons/hicolor/48x48/apps/geany.png pixmaps/geany.png
42 }