wok-6.x annotate libxcb/receipt @ rev 16194
libxcb: back to 1.9.1 for ARM (1.10 is needed for wayland)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Sun Mar 30 22:07:59 2014 +0200 (2014-03-30) |
parents | c358d2c8fa30 |
children | a78610b2eb47 |
rev | line source |
---|---|
mallory@2685 | 1 # SliTaz package receipt. |
mallory@2685 | 2 |
mallory@2685 | 3 PACKAGE="libxcb" |
pankso@16193 | 4 VERSION="1.10" |
pankso@16194 | 5 ARM_VERSION="1.9.1" |
mallory@2685 | 6 CATEGORY="x-window" |
al@14595 | 7 SHORT_DESC="A C binding to the X11 protocol" |
pankso@15969 | 8 MAINTAINER="pankso@slitaz.org" |
al@14595 | 9 LICENSE="other" |
al@14595 | 10 WEB_SITE="http://xcb.freedesktop.org/" |
mallory@2685 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
al@14595 | 12 WGET_URL="${WEB_SITE}dist/$TARBALL" |
pankso@16021 | 13 HOST_ARCH="i486 arm" |
al@14595 | 14 |
al@14595 | 15 DEPENDS="glibc-base xorg-libXau xorg-libXdmcp" |
al@14604 | 16 BUILD_DEPENDS="libxslt-dev xcb-proto xorg-libXau-dev xorg-libXdmcp-dev \ |
al@14604 | 17 autoconf automake libtool" |
mallory@2685 | 18 |
pankso@16194 | 19 # Handle SliTaz arch |
pankso@16194 | 20 case "$SLITAZ_ARCH" in |
pankso@16194 | 21 arm*) VERSION="$ARM_VERSION" ;; |
pankso@16194 | 22 esac |
pankso@16194 | 23 |
pankso@15969 | 24 case "$ARCH" in |
pankso@16194 | 25 arm*) |
pankso@16021 | 26 # We need host xcb-proto libxslt-dev file installed |
pankso@16194 | 27 VERSION="$ARM_VERSION" |
pankso@16194 | 28 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@16194 | 29 WGET_URL="${WEB_SITE}dist/$TARBALL" |
pankso@16021 | 30 BUILD_DEPENDS="libxslt-dev xcb-proto xorg-libXau-dev xorg-libXdmcp-dev" ;; |
pankso@15969 | 31 esac |
pankso@15969 | 32 |
mallory@2685 | 33 # Rules to configure and make the package. |
mallory@2685 | 34 compile_rules() |
mallory@2685 | 35 { |
al@14595 | 36 # http://www.linuxfromscratch.org/blfs/view/svn/x/libxcb.html |
al@14595 | 37 sed -i "s|pthread-stubs||" $src/configure.ac && |
al@14604 | 38 autoreconf -fi && |
pascal@12942 | 39 ./configure \ |
slaxemulator@12932 | 40 --enable-xinput \ |
pankso@16193 | 41 --enable-xkb \ |
al@14595 | 42 --disable-build-docs \ |
al@14604 | 43 --disable-static \ |
mallory@2685 | 44 $CONFIGURE_ARGS && |
al@14595 | 45 make && |
al@14595 | 46 make DESTDIR=$DESTDIR install |
mallory@2685 | 47 } |
mallory@2685 | 48 |
mallory@2685 | 49 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2685 | 50 genpkg_rules() |
mallory@2685 | 51 { |
al@14595 | 52 mkdir -p \ |
al@14595 | 53 $fs/usr/lib \ |
al@14595 | 54 $fs/usr/share/licenses |
pascal@14566 | 55 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@14595 | 56 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt |
mallory@2685 | 57 } |
mallory@2685 | 58 |