wok-6.x view tix/receipt @ rev 23591
python-pysol-cards: added build dependency
author | Hans-G?nter Theisgen |
---|---|
date | Wed Apr 08 10:35:39 2020 +0100 (2020-04-08) |
parents | 0f7d97c681bd |
children | 5f6c5106b1f5 |
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 }