wok view tix/receipt @ rev 25778
Up fdutils (5.6), lite (1.11), vlgothic-fonts (20230918)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Sep 20 09:06:10 2024 +0000 (2 months ago) |
parents | 7dd01dedad38 |
children |
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="https://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 # What is the latest version available today?
18 current_version()
19 {
20 wget -O - https://sourceforge.net/projects/tix/files/tix/ 2>/dev/null | \
21 sed '/scope="row/!d;s|.*a href="|"https://sourceforge.net|;s| .*||;q' | xargs wget -O - 2>/dev/null | \
22 sed '/scope="row/!d;s|.*/tix/||;s|/.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # tcl 8.6 support
29 sed -i 's|#include.*tcl\.h.*|#define USE_INTERP_RESULT 1\n&|' \
30 generic/tix.h generic/tixPort.h generic/tixUtils.c \
31 PyTix-2.0/2.0/_tkinter.c PyTix-2.0/2.0/tkappinit.c
32 ./configure --prefix=/usr $CONFIGURE_ARGS &&
33 make &&
34 make DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 cp -a $install/usr $fs
41 }