wok-next annotate xorg-libxcb/receipt @ rev 19990
lighttpd: add missing SPLIT
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Oct 20 08:05:51 2017 +0200 (2017-10-20) |
parents | |
children | 0e7893ac206d |
rev | line source |
---|---|
al@19805 | 1 # SliTaz package receipt v2. |
al@19805 | 2 |
al@19805 | 3 PACKAGE="xorg-libxcb" |
al@19805 | 4 VERSION="1.12" |
al@19805 | 5 CATEGORY="x-window" |
al@19805 | 6 SHORT_DESC="A C binding to the X11 protocol" |
al@19805 | 7 MAINTAINER="pankso@slitaz.org" |
al@19805 | 8 LICENSE="MIT" |
al@19805 | 9 WEB_SITE="https://xcb.freedesktop.org/" |
al@19805 | 10 HOST_ARCH="i486 arm" |
al@19805 | 11 |
al@19805 | 12 TARBALL="libxcb-$VERSION.tar.bz2" |
al@19805 | 13 WGET_URL="$XORG_MIRROR/xcb/$TARBALL" |
al@19805 | 14 |
al@19805 | 15 BUILD_DEPENDS="libxslt-dev xorg-xcb-proto xorg-libXau-dev xorg-libXdmcp-dev \ |
al@19805 | 16 autoconf automake libtool" |
al@19805 | 17 SPLIT="xorg-libxcb-dev" |
al@19805 | 18 PKG_RULE="std-dev" |
al@19805 | 19 |
al@19805 | 20 # Handle SliTaz arch |
al@19805 | 21 case "$SLITAZ_ARCH" in |
al@19805 | 22 arm*) VERSION="1.9.1";; |
al@19805 | 23 esac |
al@19805 | 24 case "$ARCH" in |
al@19805 | 25 arm*) # We need host xcb-proto libxslt-dev file installed |
al@19805 | 26 VERSION="1.9.1" |
al@19805 | 27 TARBALL="libxcb-$VERSION.tar.bz2" |
al@19805 | 28 WGET_URL="https://xcb.freedesktop.org/dist/$TARBALL" |
al@19805 | 29 BUILD_DEPENDS="libxslt-dev xorg-xcb-proto xorg-libXau-dev xorg-libXdmcp-dev" |
al@19805 | 30 ;; |
al@19805 | 31 esac |
al@19805 | 32 |
al@19805 | 33 # Rules to configure and make the package. |
al@19805 | 34 compile_rules() |
al@19805 | 35 { |
al@19805 | 36 # Package "libpthread-stubs" no more needed: |
al@19805 | 37 # our platform already supply all the necessary pthread stubs. |
al@19805 | 38 sed -i "s|pthread-stubs||" $src/configure.ac |
al@19805 | 39 |
al@19805 | 40 autoreconf -fi && |
al@19805 | 41 ./configure \ |
al@19805 | 42 --enable-xinput \ |
al@19805 | 43 --enable-xprint \ |
al@19805 | 44 --docdir='${datadir}'/doc/$PACKAGE-$VERSION \ |
al@19805 | 45 $CONFIGURE_ARGS && |
al@19805 | 46 make && |
al@19805 | 47 make DESTDIR=$DESTDIR install |
al@19805 | 48 } |
al@19805 | 49 |
al@19805 | 50 # Rules to gen a SliTaz package suitable for Tazpkg. |
al@19805 | 51 genpkg_rules() |
al@19805 | 52 { |
al@19805 | 53 case $PACKAGE in |
al@19805 | 54 *-libxcb) |
al@19805 | 55 copy @std |
al@19805 | 56 DEPENDS="xorg-libXau xorg-libXdmcp" |
al@19805 | 57 PROVIDE="libxcb" |
al@19805 | 58 ;; |
al@19805 | 59 *-dev) |
al@19805 | 60 copy @dev |
al@19805 | 61 DEPENDS="xorg-libxcb xorg-libXau-dev xorg-libXdmcp-dev" |
al@19805 | 62 PROVIDE="libxcb-dev" |
al@19805 | 63 ;; |
al@19805 | 64 esac |
al@19805 | 65 } |