wok-current annotate geany/receipt @ rev 153
Add JWM_MENU infos
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Jan 26 19:03:45 2008 +0100 (2008-01-26) |
parents | 0403ebaf4af0 |
children | b8f57e976a5d |
rev | line source |
---|---|
pankso@43 | 1 # SliTaz package receipt. |
pankso@43 | 2 |
pankso@43 | 3 PACKAGE="geany" |
pankso@43 | 4 VERSION="0.12" |
pankso@43 | 5 CATEGORY="extra" |
pankso@43 | 6 SHORT_DESC="Small and fast IDE using GTK+ toolkit." |
pankso@43 | 7 MAINTAINER="pankso@slitaz.org" |
pankso@43 | 8 DEPENDS="gtk+" |
pankso@43 | 9 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@43 | 10 WEB_SITE="http://geany.uvena.de/" |
pankso@43 | 11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@153 | 12 JWM_MENU='Development:<Program icon="geany.png" label="Geany IDE">geany</Program>' |
pankso@43 | 13 |
pankso@43 | 14 # Rules to configure and make the package. |
pankso@43 | 15 compile_rules() |
pankso@43 | 16 { |
pankso@43 | 17 cd $src |
pankso@43 | 18 ./configure --prefix=/usr --mandir=/usr/share/man \ |
pankso@43 | 19 --disable-vte $CONFIGURE_ARGS |
pankso@43 | 20 make |
pankso@43 | 21 make DESTDIR=$PWD/_pkg install |
pankso@43 | 22 } |
pankso@43 | 23 |
pankso@43 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@43 | 25 genpkg_rules() |
pankso@43 | 26 { |
pankso@43 | 27 mkdir -p $fs/usr/share/locale $fs/usr/lib/geany |
pankso@43 | 28 cp -a $_pkg/usr/bin $fs/usr |
pankso@43 | 29 cp -a $_pkg/usr/lib/geany/*.so $fs/usr/lib/geany |
pankso@43 | 30 cp -a $_pkg/usr/share/geany $fs/usr/share |
pankso@43 | 31 cp -a $_pkg/usr/share/pixmaps $fs/usr/share |
pankso@43 | 32 rm -f $fs/usr/share/pixmaps/*.ico |
pankso@43 | 33 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale |
pankso@43 | 34 strip -s $fs/usr/bin/* |
pankso@43 | 35 strip -s $fs/usr/lib/geany/* |
pankso@43 | 36 } |