wok-stable view glib/receipt @ rev 11397
Fix: prevent a building error in iasl
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Dec 10 06:12:25 2011 +0100 (2011-12-10) |
parents | 268a913ee3ae |
children | 1af880ebf6dc |
line source
1 # SliTaz package receipt.
3 PACKAGE="glib"
4 VERSION="2.30.1"
5 CATEGORY="x-window"
6 SHORT_DESC="C routines."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.gtk.org/"
10 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION:0:4}/$TARBALL"
12 DEPENDS="libffi"
13 BUILD_DEPENDS="libffi-dev gettext zlib-dev perl python python-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 # Fails on cross compile: use native i468 --build toolchain.
20 ./configure --sysconfdir=/etc \
21 --build=$HOST_SYSTEM --host=$HOST_SYSTEM &&
22 make && make install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 # split libgio
31 rm $fs/usr/lib/libgio*
32 }