wok view TeXmacs/receipt @ rev 15294

TeXmacs: remove util.h
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 27 09:29:34 2013 +0000 (2013-09-27)
parents 3f554d69c3ce
children a3b6dd3aac6f
line source
1 # SliTaz package receipt.
3 PACKAGE="TeXmacs"
4 VERSION="1.0.7.8"
5 CATEGORY="office"
6 SHORT_DESC="The high quality of TeX with a wisiwyg editor"
7 MAINTAINER="slitaz@leledy.fr"
8 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
10 WEB_SITE="http://www.texmacs.org/"
11 WGET_URL="ftp://ftp.texmacs.org/pub/$PACKAGE/targz/$TARBALL"
13 DEPENDS="ghostscript gmp guile freetype TeXmacs-windows-fonts"
14 # freetype and TeXmacs-windows-fonts avoid depending on TeX which is a *huge* system
15 BUILD_DEPENDS="xorg-libX11-dev gmp-dev guile-dev freetype-dev imlib2-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 mv $src-src $src 2> /dev/null
21 cd $src
22 sed -i 's|.*include <util.h>|//&|' plugins/shell/src/tm_shell.cpp plugins/r/src/tm_r.c
23 ./configure \
24 --with-imlib2 \
25 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 --libexecdir=/usr/lib \
29 $CONFIGURE_ARGS &&
30 make && make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/lib $fs/usr
39 cp -a $install/usr/share $fs/usr
40 }