wok view geany/receipt @ rev 15983
arm: add some Xorg proto pkgs and prepare pkg-config/receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sat Mar 01 23:51:38 2014 +0100 (2014-03-01) |
parents | 7896f0694ef6 |
children | 128aae84d74c |
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"
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 }