wok annotate geany/receipt @ rev 189
Add vte and let geany load terminal if installed
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Feb 06 21:29:05 2008 +0100 (2008-02-06) |
parents | b8f57e976a5d |
children | eb4e6a1af180 |
rev | line source |
---|---|
pankso@43 | 1 # SliTaz package receipt. |
pankso@43 | 2 |
pankso@43 | 3 PACKAGE="geany" |
pankso@188 | 4 VERSION="0.13" |
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@188 | 8 DEPENDS="gtk+ libxml2" |
pankso@189 | 9 SUGGESTED="vte" |
pankso@188 | 10 BUILD_DEPENDS="gtk+-dev libxml2-dev perl-xml-parser" |
pankso@43 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@43 | 12 WEB_SITE="http://geany.uvena.de/" |
pankso@43 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@153 | 14 JWM_MENU='Development:<Program icon="geany.png" label="Geany IDE">geany</Program>' |
pankso@43 | 15 |
pankso@43 | 16 # Rules to configure and make the package. |
pankso@189 | 17 # Without vte : --disable-vte |
pankso@43 | 18 compile_rules() |
pankso@43 | 19 { |
pankso@43 | 20 cd $src |
pankso@188 | 21 ./configure \ |
pankso@188 | 22 --prefix=/usr \ |
pankso@188 | 23 --mandir=/usr/share/man \ |
pankso@188 | 24 $CONFIGURE_ARGS |
pankso@43 | 25 make |
pankso@43 | 26 make DESTDIR=$PWD/_pkg install |
pankso@43 | 27 } |
pankso@43 | 28 |
pankso@43 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@43 | 30 genpkg_rules() |
pankso@43 | 31 { |
pankso@188 | 32 mkdir -p $fs/usr/share $fs/usr/lib/geany |
pankso@43 | 33 cp -a $_pkg/usr/bin $fs/usr |
pankso@43 | 34 cp -a $_pkg/usr/lib/geany/*.so $fs/usr/lib/geany |
pankso@43 | 35 cp -a $_pkg/usr/share/geany $fs/usr/share |
pankso@188 | 36 cp -a stuff/filetype_extensions.conf $fs/usr/share/geany |
pankso@43 | 37 } |