wok view glib/receipt @ rev 390

Slitaz-loram-cdrom: decrease memory footprint a bit
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Mar 09 13:00:33 2008 +0000 (2008-03-09)
parents ad5e33e4dad7
children d5e75812e704
line source
1 # SliTaz package receipt.
3 PACKAGE="glib"
4 VERSION="2.12.4"
5 CATEGORY="x-window"
6 SHORT_DESC="C routines."
7 MAINTAINER="pankso@slitaz.org"
8 BUILD_DEPENDS="cairo-dev"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.gtk.org/"
11 WGET_URL="ftp://ftp.gtk.org/pub/glib/2.12/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --sysconfdir=/etc \
18 --mandir=/usr/share/man --with-html-dir=/usr/share/doc \
19 $CONFIGURE_ARGS
20 make
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib $fs/usr/share/locale
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
30 strip --strip-unneeded $fs/usr/lib/*
31 }