wok-next view tix/receipt @ rev 20447

libxcb is obsolete -> xorg-libxcb
author Aleksej Bobylev <al.bobylev@gmail.com>
date Wed Feb 28 13:56:24 2018 +0200 (2018-02-28)
parents 5f652b930fb9
children d5aab818505e
line source
1 # SliTaz package receipt.
3 PACKAGE="tix"
4 SOURCE="Tix"
5 VERSION="8.4.3"
6 CATEGORY="development"
7 SHORT_DESC="Tk Interface eXtension."
8 MAINTAINER="pascal.bellard@slitaz.org"
9 LICENSE="BSD"
10 TARBALL="$SOURCE$VERSION-src.tar.gz"
11 WEB_SITE="http://tix.sourceforge.net/"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 DEPENDS="tcl xorg-libX11 xorg-libXau xorg-libXdmcp xorg-libxcb"
15 BUILD_DEPENDS="tcl-dev tk-dev xorg-dev"
17 # Rules to configure and make the package.
18 #
19 compile_rules()
20 {
21 # tcl 8.6 support
22 sed -i 's|#include.*tcl\.h.*|#define USE_INTERP_RESULT 1\n&|' \
23 generic/tix.h generic/tixPort.h generic/tixUtils.c \
24 PyTix-2.0/2.0/_tkinter.c PyTix-2.0/2.0/tkappinit.c
25 ./configure --prefix=/usr $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 cp -a $install/usr $fs
34 }