wok-next annotate geany/receipt @ rev 4670
rpm: update depends
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Dec 29 17:15:59 2009 +0100 (2009-12-29) |
parents | 5e6cb07cd218 |
children | e8fa8878f6e1 |
rev | line source |
---|---|
pankso@43 | 1 # SliTaz package receipt. |
pankso@43 | 2 |
pankso@43 | 3 PACKAGE="geany" |
pankso@3954 | 4 VERSION="0.18" |
pankso@188 | 5 CATEGORY="development" |
pankso@43 | 6 SHORT_DESC="Small and fast IDE using GTK+ toolkit." |
pankso@43 | 7 MAINTAINER="pankso@slitaz.org" |
rcx@3689 | 8 DEPENDS="glibc-base glib gcc-lib-base libgio expat zlib libxcb xcb-util \ |
rcx@3689 | 9 gtk+ atk cairo pango pixman libpng fontconfig freetype \ |
rcx@3689 | 10 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \ |
rcx@3689 | 11 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender" |
pankso@578 | 12 SUGGESTED="geany-plugins vte" |
rcx@3689 | 13 BUILD_DEPENDS="glib-dev expat-dev gtk+-dev atk-dev pango-dev cairo-dev pixman-dev \ |
rcx@3689 | 14 libpng-dev freetype-dev fontconfig-dev perl-xml-parser intltool gettext \ |
rcx@3689 | 15 xorg-libXrender-dev xorg-xproto xorg-renderproto xorg-libX11-dev \ |
rcx@3689 | 16 xorg-kbproto xorg-libXau-dev xorg-libXdmcp-dev" |
pankso@43 | 17 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@43 | 18 WEB_SITE="http://geany.uvena.de/" |
pankso@3954 | 19 WGET_URL="http://download.geany.org/$TARBALL" |
pankso@43 | 20 |
pankso@43 | 21 # Rules to configure and make the package. |
pankso@189 | 22 # Without vte : --disable-vte |
pankso@43 | 23 compile_rules() |
pankso@43 | 24 { |
pankso@43 | 25 cd $src |
pankso@188 | 26 ./configure \ |
pankso@188 | 27 --prefix=/usr \ |
pankso@188 | 28 --mandir=/usr/share/man \ |
pankso@3954 | 29 $CONFIGURE_ARGS && |
pankso@3954 | 30 make && make DESTDIR=$PWD/_pkg install |
pankso@43 | 31 } |
pankso@43 | 32 |
pankso@43 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@43 | 34 genpkg_rules() |
pankso@43 | 35 { |
pankso@578 | 36 mkdir -p $fs/usr/share |
pankso@43 | 37 cp -a $_pkg/usr/bin $fs/usr |
pankso@43 | 38 cp -a $_pkg/usr/share/geany $fs/usr/share |
pankso@188 | 39 cp -a stuff/filetype_extensions.conf $fs/usr/share/geany |
pankso@670 | 40 rm $fs/usr/share/geany/GPL-2 |
pankso@3954 | 41 cp -a $_pkg/usr/share/icons $fs/usr/share |
pankso@43 | 42 } |