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