wok-4.x view glib/receipt @ rev 12457

linux: CVE-2016-5195
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Oct 21 16:31:54 2016 +0200 (2016-10-21)
parents 434fb8bd5c7d
children 39f7962e4210
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 }