wok annotate 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 |
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@15969 | 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@15969 | 19 arm) BUILD_DEPENDS="libxslt-dev xcb-proto xorg-libXau-dev" ;; |
pankso@15969 | 20 esac |
pankso@15969 | 21 |
mallory@2685 | 22 # Rules to configure and make the package. |
mallory@2685 | 23 compile_rules() |
mallory@2685 | 24 { |
al@14595 | 25 # http://www.linuxfromscratch.org/blfs/view/svn/x/libxcb.html |
al@14595 | 26 sed -i "s|pthread-stubs||" $src/configure.ac && |
al@14604 | 27 autoreconf -fi && |
pascal@12942 | 28 ./configure \ |
slaxemulator@12932 | 29 --enable-xinput \ |
al@14595 | 30 --disable-build-docs \ |
al@14604 | 31 --disable-static \ |
mallory@2685 | 32 $CONFIGURE_ARGS && |
al@14595 | 33 make && |
al@14595 | 34 make DESTDIR=$DESTDIR install |
mallory@2685 | 35 } |
mallory@2685 | 36 |
mallory@2685 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@2685 | 38 genpkg_rules() |
mallory@2685 | 39 { |
al@14595 | 40 mkdir -p \ |
al@14595 | 41 $fs/usr/lib \ |
al@14595 | 42 $fs/usr/share/licenses |
pascal@14566 | 43 cp -a $install/usr/lib/*.so* $fs/usr/lib |
al@14595 | 44 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt |
mallory@2685 | 45 } |
mallory@2685 | 46 |