wok-6.x view glib/receipt @ rev 11975
merge
author | Samuel Trassare <samuel_trassare@yahoo.com> |
---|---|
date | Fri Mar 02 11:54:25 2012 -0800 (2012-03-02) |
parents | 434fb8bd5c7d |
children | bf0fdda3038d |
line source
1 # SliTaz package receipt.
3 PACKAGE="glib"
4 VERSION="2.30.2"
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/bin $fs/usr
30 cp -a $install/usr/lib/*.so* $fs/usr/lib
31 # split libgio
32 rm $fs/usr/lib/libgio*
33 }