wok-next view tix/receipt @ rev 21020

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