wok-next view tix/receipt @ rev 21257

encfs: use cmake
author Hans-G?nter Theisgen
date Fri Dec 06 13:47:57 2019 +0100 (2019-12-06)
parents d5aab818505e
children
line source
1 # SliTaz package receipt.
3 PACKAGE="tix"
4 VERSION="8.4.3"
5 CATEGORY="development"
6 SHORT_DESC="Tk Interface eXtension"
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="BSD"
9 WEB_SITE="http://tix.sourceforge.net/"
11 SOURCE="Tix"
12 TARBALL="$SOURCE$VERSION-src.tar.gz"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 BUILD_DEPENDS="tcl-dev tk-dev xorg-dev"
17 compile_rules() {
18 # tcl 8.6 support
19 sed -i 's|#include.*tcl\.h.*|#define USE_INTERP_RESULT 1\n&|' \
20 generic/tix.h generic/tixPort.h generic/tixUtils.c \
21 PyTix-2.0/2.0/_tkinter.c PyTix-2.0/2.0/tkappinit.c
23 ./configure \
24 --prefix=/usr \
25 $CONFIGURE_ARGS &&
26 make &&
27 make DESTDIR=$install install
28 }
30 genpkg_rules() {
31 cp -a $install/usr $fs
32 DEPENDS="tcl libx11 libxau libxdmcp libxcb"
33 }