wok view geany/receipt @ rev 16613

libjreen: update QT4_CREATE_MOC_COMMAND in jreenMacros.cmake
author Pascal Bellard <pascal.bellard@slitaz.org>
date Thu May 08 16:42:02 2014 +0000 (2014-05-08)
parents c7ce5e74f144
children 5d53e8ccbc8d
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"
13 HOST_ARCH="i486 arm"
15 DEPENDS="glibc-base glib gcc-lib-base libgio expat zlib libxcb xcb-util \
16 gtk+ atk cairo pango pixman libpng fontconfig freetype xorg-libX11 \
17 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
18 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender"
19 BUILD_DEPENDS="glib-dev expat-dev gtk+-dev atk-dev pango-dev cairo-dev \
20 pixman-dev libpng-dev freetype-dev fontconfig-dev xorg-libXrender-dev \
21 xorg-xproto xorg-renderproto xorg-libX11-dev xorg-kbproto xorg-libXau-dev \
22 xorg-libXdmcp-dev libxml2-dev"
24 # Handle cross compilation.
25 case "$ARCH" in
26 i?86) BUILD_DEPENDS="$BUILD_DEPENDS perl-xml-parser intltool gettext glibc-locale" ;;
27 arm*) ARCH_ARGS="--disable-vte" ;;
28 esac
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 ./configure \
34 ${CONFIGURE_ARGS} ${ARCH_ARGS} &&
35 make && make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share/pixmaps $fs/usr/lib/geany
42 cp -a $install/usr/bin $fs/usr
43 cp -a $install/usr/lib/geany/*.so $fs/usr/lib/geany
44 cp -a $install/usr/share/geany $fs/usr/share
45 cp -a $stuff/filetype_extensions.conf $fs/usr/share/geany
46 rm $fs/usr/share/geany/GPL-2
47 cp -a $install/usr/share/icons $fs/usr/share
48 cd $fs/usr/share
49 ln -sf /usr/share/icons/hicolor/48x48/apps/geany.png pixmaps/geany.png
50 }