wok annotate libxcb/receipt @ rev 15741

gnucash: set license to GPL2
author Dominique Corbex <domcox@slitaz.org>
date Wed Jan 01 20:51:00 2014 +0100 (2014-01-01)
parents a09e9d64e4c9
children fd812ac90452
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"
mallory@2685 7 MAINTAINER="mallory@sweetpeople.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"
al@14595 12
al@14595 13 DEPENDS="glibc-base xorg-libXau xorg-libXdmcp"
al@14604 14 BUILD_DEPENDS="libxslt-dev xcb-proto xorg-libXau-dev xorg-libXdmcp-dev \
al@14604 15 autoconf automake libtool"
mallory@2685 16
mallory@2685 17 # Rules to configure and make the package.
mallory@2685 18 compile_rules()
mallory@2685 19 {
al@14595 20 # http://www.linuxfromscratch.org/blfs/view/svn/x/libxcb.html
al@14595 21 sed -i "s|pthread-stubs||" $src/configure.ac &&
al@14604 22 autoreconf -fi &&
pascal@12942 23 ./configure \
slaxemulator@12932 24 --enable-xinput \
al@14595 25 --disable-build-docs \
al@14604 26 --disable-static \
mallory@2685 27 $CONFIGURE_ARGS &&
al@14595 28 make &&
al@14595 29 make DESTDIR=$DESTDIR install
mallory@2685 30 }
mallory@2685 31
mallory@2685 32 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@2685 33 genpkg_rules()
mallory@2685 34 {
al@14595 35 mkdir -p \
al@14595 36 $fs/usr/lib \
al@14595 37 $fs/usr/share/licenses
pascal@14566 38 cp -a $install/usr/lib/*.so* $fs/usr/lib
al@14595 39 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
mallory@2685 40 }
mallory@2685 41