wok-4.x view libffi/receipt @ rev 12448
glibc: CVE-2015-0235 fix (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 30 16:34:55 2015 +0100 (2015-01-30) |
parents | 5325e8430795 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="libffi"
4 VERSION="3.0.10"
5 CATEGORY="development"
6 SHORT_DESC="A portable foreign function interface library."
7 MAINTAINER="rcx@zoominternet.net"
8 DEPENDS="glibc-base"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://sourceware.org/libffi/"
11 WGET_URL="ftp://sourceware.org/pub/$PACKAGE/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --includedir=/usr/include \
19 $CONFIGURE_ARGS &&
20 make &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
30 # create symlink to libffi.so.4
31 cd $fs/usr/lib
32 ln -sf libffi.so.5.0.10 libffi.so.4
33 }