wok-next view tix/receipt @ rev 19978
Receipts v2: xmlrpc-c, yaml, zeromq.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 18 03:15:00 2017 +0300 (2017-10-18) |
parents | 0f7d97c681bd |
children | 7639f09792cf |
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 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 }