wok-next view glade3/receipt @ rev 1519

beecrypt: fix compile_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 08 10:44:29 2008 +0000 (2008-10-08)
parents 34ba26339d8d
children 8c3c15a3a2e8
line source
1 # SliTaz package receipt.
3 PACKAGE="glade3"
4 VERSION="3.4.5"
5 CATEGORY="development"
6 SHORT_DESC="Vector drawing application."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libglade"
9 BUILD_DEPENDS="gtk+-dev libglade-dev scrollkeeper"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://glade.gnome.org/"
12 WGET_URL="http://ftp.gnome.org/pub/GNOME/sources/glade3/3.4/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --with-html-dir=/usr/share/doc \
21 $CONFIGURE_ARGS &&
22 make &&
23 make DESTDIR=$PWD/_pkg install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr/lib $fs/usr/share/pixmaps
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/lib/glade3 $fs/usr/lib
33 rm $fs/usr/lib/glade3/modules/*.*a
34 cp -a $_pkg/usr/share/icons/hicolor/24x24/apps/* \
35 $fs/usr/share/pixmaps
36 cp -a $_pkg/usr/share/glade3 $fs/usr/share
37 }