wok-current annotate tix/receipt @ rev 24968
gnutls: disabled GOST support
author | Hans-G?nter Theisgen |
---|---|
date | Tue Apr 26 13:11:21 2022 +0100 (2022-04-26) |
parents | 5f652b930fb9 |
children | 7dd01dedad38 |
rev | line source |
---|---|
pascal@17317 | 1 # SliTaz package receipt. |
pascal@17317 | 2 |
pascal@17317 | 3 PACKAGE="tix" |
pascal@17317 | 4 SOURCE="Tix" |
pascal@17317 | 5 VERSION="8.4.3" |
pascal@17317 | 6 CATEGORY="development" |
pascal@17317 | 7 SHORT_DESC="Tk Interface eXtension." |
pascal@17317 | 8 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17317 | 9 LICENSE="BSD" |
pascal@17317 | 10 TARBALL="$SOURCE$VERSION-src.tar.gz" |
pascal@17317 | 11 WEB_SITE="http://tix.sourceforge.net/" |
pascal@17317 | 12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@17317 | 13 |
pascal@17317 | 14 DEPENDS="tcl xorg-libX11 xorg-libXau xorg-libXdmcp libxcb" |
pascal@17317 | 15 BUILD_DEPENDS="tcl-dev tk-dev xorg-dev" |
pascal@17317 | 16 |
pascal@24340 | 17 # What is the latest version available today? |
pascal@24340 | 18 current_version() |
pascal@24340 | 19 { |
pascal@24340 | 20 wget -O - https://sourceforge.net/projects/tix/files/tix/ 2>/dev/null | \ |
pascal@24340 | 21 sed '/scope="row/!d;s|.*href="|"https://sourceforge.net|;q' | xargs wget -O - 2>/dev/null | \ |
pascal@24340 | 22 sed '/scope="row/!d;s|.*/tix/||;s|/.*||;q' |
pascal@24340 | 23 } |
pascal@24340 | 24 |
pascal@17317 | 25 # Rules to configure and make the package. |
pascal@17317 | 26 compile_rules() |
pascal@17317 | 27 { |
pascal@17674 | 28 # tcl 8.6 support |
pascal@17674 | 29 sed -i 's|#include.*tcl\.h.*|#define USE_INTERP_RESULT 1\n&|' \ |
pascal@17674 | 30 generic/tix.h generic/tixPort.h generic/tixUtils.c \ |
pascal@17674 | 31 PyTix-2.0/2.0/_tkinter.c PyTix-2.0/2.0/tkappinit.c |
pascal@17317 | 32 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@17317 | 33 make && |
pascal@17317 | 34 make DESTDIR=$DESTDIR install |
pascal@17317 | 35 } |
pascal@17317 | 36 |
pascal@17317 | 37 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17317 | 38 genpkg_rules() |
pascal@17317 | 39 { |
pascal@17317 | 40 cp -a $install/usr $fs |
pascal@17317 | 41 } |