wok annotate geany/receipt @ rev 10786
geany: it also provide custom icon for UI, so symlink logo for pixmaps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jun 01 14:04:02 2011 +0200 (2011-06-01) |
parents | a4dc7e2acfab |
children | e2b1ff2ea7cf |
rev | line source |
---|---|
pankso@43 | 1 # SliTaz package receipt. |
pankso@43 | 2 |
pankso@43 | 3 PACKAGE="geany" |
slaxemulator@7888 | 4 VERSION="0.20" |
pankso@188 | 5 CATEGORY="development" |
pankso@43 | 6 SHORT_DESC="Small and fast IDE using GTK+ toolkit." |
pankso@43 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@10785 | 8 SUGGESTED="geany-plugins vte" |
pankso@10785 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@10785 | 10 WEB_SITE="http://geany.uvena.de/" |
pankso@10785 | 11 WGET_URL="http://download.geany.org/$TARBALL" |
pankso@10785 | 12 |
rcx@3689 | 13 DEPENDS="glibc-base glib gcc-lib-base libgio expat zlib libxcb xcb-util \ |
rcx@3689 | 14 gtk+ atk cairo pango pixman libpng fontconfig freetype \ |
rcx@3689 | 15 xorg-libX11 xorg-libXau xorg-libXcomposite xorg-libXcursor xorg-libXdamage \ |
rcx@3689 | 16 xorg-libXdmcp xorg-libXext xorg-libXfixes xorg-libXinerama xorg-libXrender" |
rcx@3689 | 17 BUILD_DEPENDS="glib-dev expat-dev gtk+-dev atk-dev pango-dev cairo-dev pixman-dev \ |
rcx@3689 | 18 libpng-dev freetype-dev fontconfig-dev perl-xml-parser intltool gettext \ |
rcx@3689 | 19 xorg-libXrender-dev xorg-xproto xorg-renderproto xorg-libX11-dev \ |
slaxemulator@6183 | 20 xorg-kbproto xorg-libXau-dev xorg-libXdmcp-dev glibc-locale" |
pankso@43 | 21 |
pankso@43 | 22 # Rules to configure and make the package. |
pankso@189 | 23 # Without vte : --disable-vte |
pankso@43 | 24 compile_rules() |
pankso@43 | 25 { |
pankso@43 | 26 cd $src |
pankso@10785 | 27 ./configure $CONFIGURE_ARGS && |
pankso@10785 | 28 make && make install |
pankso@43 | 29 } |
pankso@43 | 30 |
pankso@43 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@43 | 32 genpkg_rules() |
pankso@43 | 33 { |
pankso@10785 | 34 mkdir -p $fs/usr/share/pixmaps |
pankso@43 | 35 cp -a $_pkg/usr/bin $fs/usr |
pankso@43 | 36 cp -a $_pkg/usr/share/geany $fs/usr/share |
pankso@10785 | 37 cp -a $stuff/filetype_extensions.conf $fs/usr/share/geany |
pankso@670 | 38 rm $fs/usr/share/geany/GPL-2 |
pankso@10786 | 39 cp -a $_pkg/usr/share/icons $fs/usr/share |
pankso@10786 | 40 cd $fs/usr/share |
pankso@10786 | 41 ln -s icons/hicolor/48x48/apps/geany.png pixmaps/geany.png |
pankso@43 | 42 } |