wok-current view glib/receipt @ rev 11402
Add python-distribute. This is going to be used to replace setuptools. Don't add a provide.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sat Dec 10 20:28:44 2011 +0000 (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 }