wok view libxcb/receipt @ rev 15969

openssl: up to 1.0.1f + add to ARM arch (almost rewrite receipt)
author Christophe Lincoln <pankso@slitaz.org>
date Mon Feb 24 23:42:48 2014 +0100 (2014-02-24)
parents c56cdaa324e6
children 010bb8c2c4ac
line source
1 # SliTaz package receipt.
3 PACKAGE="libxcb"
4 VERSION="1.9.1"
5 CATEGORY="x-window"
6 SHORT_DESC="A C binding to the X11 protocol"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="other"
9 WEB_SITE="http://xcb.freedesktop.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="${WEB_SITE}dist/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="glibc-base xorg-libXau xorg-libXdmcp"
15 BUILD_DEPENDS="libxslt-dev xcb-proto xorg-libXau-dev xorg-libXdmcp-dev \
16 autoconf automake libtool"
18 case "$ARCH" in
19 arm) BUILD_DEPENDS="libxslt-dev xcb-proto xorg-libXau-dev" ;;
20 esac
22 # Rules to configure and make the package.
23 compile_rules()
24 {
25 # http://www.linuxfromscratch.org/blfs/view/svn/x/libxcb.html
26 sed -i "s|pthread-stubs||" $src/configure.ac &&
27 autoreconf -fi &&
28 ./configure \
29 --enable-xinput \
30 --disable-build-docs \
31 --disable-static \
32 $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p \
41 $fs/usr/lib \
42 $fs/usr/share/licenses
43 cp -a $install/usr/lib/*.so* $fs/usr/lib
44 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
45 }