wok-next annotate tix/receipt @ rev 21136
Actualize libffcall (2.1), clisp (2.19)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Jan 23 22:02:31 2019 +0200 (2019-01-23) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
pascal@17317 | 1 # SliTaz package receipt. |
pascal@17317 | 2 |
pascal@17317 | 3 PACKAGE="tix" |
pascal@17317 | 4 VERSION="8.4.3" |
pascal@17317 | 5 CATEGORY="development" |
al@21020 | 6 SHORT_DESC="Tk Interface eXtension" |
pascal@17317 | 7 MAINTAINER="pascal.bellard@slitaz.org" |
pascal@17317 | 8 LICENSE="BSD" |
al@21020 | 9 WEB_SITE="http://tix.sourceforge.net/" |
al@21020 | 10 |
al@21020 | 11 SOURCE="Tix" |
pascal@17317 | 12 TARBALL="$SOURCE$VERSION-src.tar.gz" |
pascal@17317 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pascal@17317 | 14 |
pascal@17317 | 15 BUILD_DEPENDS="tcl-dev tk-dev xorg-dev" |
pascal@17317 | 16 |
al@21020 | 17 compile_rules() { |
pascal@17674 | 18 # tcl 8.6 support |
pascal@17674 | 19 sed -i 's|#include.*tcl\.h.*|#define USE_INTERP_RESULT 1\n&|' \ |
pascal@17674 | 20 generic/tix.h generic/tixPort.h generic/tixUtils.c \ |
pascal@17674 | 21 PyTix-2.0/2.0/_tkinter.c PyTix-2.0/2.0/tkappinit.c |
al@21020 | 22 |
al@21020 | 23 ./configure \ |
al@21020 | 24 --prefix=/usr \ |
al@21020 | 25 $CONFIGURE_ARGS && |
pascal@17317 | 26 make && |
al@21020 | 27 make DESTDIR=$install install |
pascal@17317 | 28 } |
pascal@17317 | 29 |
al@21020 | 30 genpkg_rules() { |
pascal@17317 | 31 cp -a $install/usr $fs |
al@21078 | 32 DEPENDS="tcl libx11 libxau libxdmcp libxcb" |
pascal@17317 | 33 } |