wok-4.x view geany/receipt @ rev 130

Fix slitaz-base-files (gen_pkg)
author Christophe Lincoln <pankso@slitaz.org>
date Sun Jan 06 21:08:42 2008 +0100 (2008-01-06)
parents
children 4959e5789caa
line source
1 # SliTaz package receipt.
3 PACKAGE="geany"
4 VERSION="0.12"
5 CATEGORY="extra"
6 SHORT_DESC="Small and fast IDE using GTK+ toolkit."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://geany.uvena.de/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --mandir=/usr/share/man \
18 --disable-vte $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share/locale $fs/usr/lib/geany
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/lib/geany/*.so $fs/usr/lib/geany
29 cp -a $_pkg/usr/share/geany $fs/usr/share
30 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
31 rm -f $fs/usr/share/pixmaps/*.ico
32 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
33 strip -s $fs/usr/bin/*
34 strip -s $fs/usr/lib/geany/*
35 }