wok-current view libgnomecanvas/receipt @ rev 6335
Up: firefox, firefox-dev, libfirefox to 3.6.10.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Sep 18 23:29:04 2010 +0000 (2010-09-18) |
parents | 2e55de4816a6 |
children | 706efda2ac07 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libgnomecanvas"
4 VERSION="2.30.1"
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 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/2.30/$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 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/share/locale
33 # Copy shared libs
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/libglade $fs/usr/lib
37 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
39 # Remove static libs
40 rm $fs/usr/lib/libglade/*/*.*a
42 strip -s $fs/usr/lib/* 2>/dev/null
43 strip $fs/usr/lib/libglade/*/*.so
44 }