wok-current annotate libxcb/receipt @ rev 16176

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