wok-current view geany/receipt @ rev 15070
crosstool-ng: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 13 13:48:56 2013 +0000 (2013-08-13) |
parents | 2b820e6838f5 |
children | c7ce5e74f144 |
line source
1 # SliTaz package receipt.
3 PACKAGE="geany"
4 VERSION="1.23"
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"
14 DEPENDS="glibc-base glib gcc-lib-base libgio expat zlib libxcb xcb-util \
15 gtk+ atk cairo pango pixman libpng fontconfig freetype \
16 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
17 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender"
18 BUILD_DEPENDS="glib-dev expat-dev gtk+-dev atk-dev pango-dev cairo-dev pixman-dev \
19 libpng-dev freetype-dev fontconfig-dev perl-xml-parser intltool gettext \
20 xorg-libXrender-dev xorg-xproto xorg-renderproto xorg-libX11-dev \
21 xorg-kbproto xorg-libXau-dev xorg-libXdmcp-dev glibc-locale libxml2-dev"
23 # Rules to configure and make the package.
24 # Without vte : --disable-vte
25 compile_rules()
26 {
27 cd $src
28 ./configure $CONFIGURE_ARGS &&
29 make && make install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/pixmaps $fs/usr/lib/geany
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/lib/geany/*.so $fs/usr/lib/geany
38 cp -a $install/usr/share/geany $fs/usr/share
39 cp -a $stuff/filetype_extensions.conf $fs/usr/share/geany
40 rm $fs/usr/share/geany/GPL-2
41 cp -a $install/usr/share/icons $fs/usr/share
42 cd $fs/usr/share
43 ln -sf /usr/share/icons/hicolor/48x48/apps/geany.png pixmaps/geany.png
44 }