wok-current view glib/receipt @ rev 485

xarchive: patch for wrappers.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Mar 22 16:07:48 2008 +0100 (2008-03-22)
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 }