wok view geany/receipt @ rev 8094

linux-module-headers: fix /usr/src/linux creation
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jan 22 18:04:51 2011 +0100 (2011-01-22)
parents 04b379c02312
children a4dc7e2acfab
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 DEPENDS="glibc-base glib gcc-lib-base libgio expat zlib libxcb xcb-util \
9 gtk+ atk cairo pango pixman libpng fontconfig freetype \
10 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \
11 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender"
12 SUGGESTED="geany-plugins vte"
13 BUILD_DEPENDS="glib-dev expat-dev gtk+-dev atk-dev pango-dev cairo-dev pixman-dev \
14 libpng-dev freetype-dev fontconfig-dev perl-xml-parser intltool gettext \
15 xorg-libXrender-dev xorg-xproto xorg-renderproto xorg-libX11-dev \
16 xorg-kbproto xorg-libXau-dev xorg-libXdmcp-dev glibc-locale"
17 TARBALL="$PACKAGE-$VERSION.tar.gz"
18 WEB_SITE="http://geany.uvena.de/"
19 WGET_URL="http://download.geany.org/$TARBALL"
21 # Rules to configure and make the package.
22 # Without vte : --disable-vte
23 compile_rules()
24 {
25 cd $src
26 ./configure \
27 --prefix=/usr \
28 --mandir=/usr/share/man \
29 $CONFIGURE_ARGS &&
30 make && make DESTDIR=$PWD/_pkg install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/share
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/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 $_pkg/usr/share/icons $fs/usr/share
42 }