wok view libgnomecanvas/receipt @ rev 9128
Up: gdb-pyton to 7.2.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Mar 05 16:29:18 2011 +0000 (2011-03-05) |
parents | 8f958ccc916f |
children | 02bbaa9d12ba |
line source
1 # SliTaz package receipt.
3 PACKAGE="libgnomecanvas"
4 VERSION="2.30.2"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME canvas library"
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libglade libart_lgpl xorg-libXdamage"
9 BUILD_DEPENDS="gtk+-dev libglade-dev intltool libart_lgpl-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.gnome.org/"
12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/${VERSION%.*}/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --with-html-dir=/usr/share/doc \
23 --enable-glade \
24 $CONFIGURE_ARGS &&
25 make &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib $fs/usr/share/locale
34 # Copy shared libs
35 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
36 cp -a $_pkg/usr/lib/libglade $fs/usr/lib
38 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
40 # Remove static libs
41 rm $fs/usr/lib/libglade/*/*.*a
43 strip -s $fs/usr/lib/* 2>/dev/null
44 strip $fs/usr/lib/libglade/*/*.so
45 }