wok annotate tix/receipt @ rev 18376
simh: race condition (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Sep 17 10:52:10 2015 +0200 (2015-09-17) |
parents | 0f7d97c681bd |
children | 5f6c5106b1f5 |
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@17317 | 17 # Rules to configure and make the package. |
pascal@17317 | 18 # |
pascal@17317 | 19 compile_rules() |
pascal@17317 | 20 { |
pascal@17674 | 21 # tcl 8.6 support |
pascal@17674 | 22 sed -i 's|#include.*tcl\.h.*|#define USE_INTERP_RESULT 1\n&|' \ |
pascal@17674 | 23 generic/tix.h generic/tixPort.h generic/tixUtils.c \ |
pascal@17674 | 24 PyTix-2.0/2.0/_tkinter.c PyTix-2.0/2.0/tkappinit.c |
pascal@17317 | 25 ./configure --prefix=/usr $CONFIGURE_ARGS && |
pascal@17317 | 26 make && |
pascal@17317 | 27 make DESTDIR=$DESTDIR install |
pascal@17317 | 28 } |
pascal@17317 | 29 |
pascal@17317 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17317 | 31 genpkg_rules() |
pascal@17317 | 32 { |
pascal@17317 | 33 cp -a $install/usr $fs |
pascal@17317 | 34 } |