wok-next view glib/receipt @ rev 10911
get-dropbox: no hardcoded version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Jul 28 10:20:30 2011 +0200 (2011-07-28) |
parents | 4c79e8be0e14 |
children | 268a913ee3ae |
line source
1 # SliTaz package receipt.
3 PACKAGE="glib"
4 VERSION="2.28.7"
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%.*}/$TARBALL"
12 DEPENDS=""
13 BUILD_DEPENDS="gettext zlib-dev pkg-config 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 $_pkg/usr/lib/*.so* $fs/usr/lib
30 # split libgio
31 rm $fs/usr/lib/libgio*
32 }