wok view 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
line source
1 # SliTaz package receipt.
3 PACKAGE="libxcb"
4 VERSION="1.9.1"
5 CATEGORY="x-window"
6 SHORT_DESC="A C binding to the X11 protocol"
7 MAINTAINER="mallory@sweetpeople.org"
8 LICENSE="other"
9 WEB_SITE="http://xcb.freedesktop.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WGET_URL="${WEB_SITE}dist/$TARBALL"
13 DEPENDS="glibc-base xorg-libXau xorg-libXdmcp"
14 BUILD_DEPENDS="libxslt-dev xcb-proto xorg-libXau-dev xorg-libXdmcp-dev \
15 autoconf automake libtool"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # http://www.linuxfromscratch.org/blfs/view/svn/x/libxcb.html
21 sed -i "s|pthread-stubs||" $src/configure.ac &&
22 autoreconf -fi &&
23 ./configure \
24 --enable-xinput \
25 --disable-build-docs \
26 --disable-static \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p \
36 $fs/usr/lib \
37 $fs/usr/share/licenses
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $src/COPYING $fs/usr/share/licenses/$PACKAGE.txt
40 }