wok view geany/receipt @ rev 12312

Rename razor-qt to razorqt (Follow https://github.com/Razor-qt/razor-qt/wiki/Packaging)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Apr 17 14:21:40 2012 +0200 (2012-04-17)
parents c7430e68b5b7
children 288da32bfc2a
line source
1 # SliTaz package receipt.
3 PACKAGE="geany"
4 VERSION="0.21"
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 $_pkg/usr/bin $fs/usr
36 cp -a $_pkg/usr/lib/geany/*.so $fs/usr/lib/geany
37 cp -a $_pkg/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 $_pkg/usr/share/icons $fs/usr/share
41 cd $fs/usr/share
42 ln -sf icons/hicolor/48x48/apps/geany.png pixmaps/geany.png
43 }