wok 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 | c4137c3f7396 |
children | 21df5a71ed8f |
files | TeXmacs/receipt |
line diff
1.1 --- a/TeXmacs/receipt Fri Sep 27 08:54:59 2013 +0000 1.2 +++ b/TeXmacs/receipt Fri Sep 27 09:29:34 2013 +0000 1.3 @@ -5,18 +5,21 @@ 1.4 CATEGORY="office" 1.5 SHORT_DESC="The high quality of TeX with a wisiwyg editor" 1.6 MAINTAINER="slitaz@leledy.fr" 1.7 +LICENSE="GPL" 1.8 +TARBALL="$PACKAGE-$VERSION-src.tar.gz" 1.9 +WEB_SITE="http://www.texmacs.org/" 1.10 +WGET_URL="ftp://ftp.texmacs.org/pub/$PACKAGE/targz/$TARBALL" 1.11 + 1.12 DEPENDS="ghostscript gmp guile freetype TeXmacs-windows-fonts" 1.13 # freetype and TeXmacs-windows-fonts avoid depending on TeX which is a *huge* system 1.14 BUILD_DEPENDS="xorg-libX11-dev gmp-dev guile-dev freetype-dev imlib2-dev" 1.15 -TARBALL="$PACKAGE-$VERSION-src.tar.gz" 1.16 -WEB_SITE="http://www.texmacs.org/" 1.17 -WGET_URL="ftp://ftp.texmacs.org/pub/$PACKAGE/targz/$TARBALL" 1.18 1.19 # Rules to configure and make the package. 1.20 compile_rules() 1.21 { 1.22 mv $src-src $src 2> /dev/null 1.23 cd $src 1.24 + sed -i 's|.*include <util.h>|//&|' plugins/shell/src/tm_shell.cpp plugins/r/src/tm_r.c 1.25 ./configure \ 1.26 --with-imlib2 \ 1.27 --prefix=/usr \ 1.28 @@ -24,14 +27,14 @@ 1.29 --mandir=/usr/share/man \ 1.30 --libexecdir=/usr/lib \ 1.31 $CONFIGURE_ARGS && 1.32 - make && make DESTDIR=$PWD/_pkg install 1.33 + make && make DESTDIR=$DESTDIR install 1.34 } 1.35 1.36 # Rules to gen a SliTaz package suitable for Tazpkg. 1.37 genpkg_rules() 1.38 { 1.39 mkdir -p $fs/usr 1.40 - cp -a $_pkg/usr/bin $fs/usr 1.41 - cp -a $_pkg/usr/lib $fs/usr 1.42 - cp -a $_pkg/usr/share $fs/usr 1.43 + cp -a $install/usr/bin $fs/usr 1.44 + cp -a $install/usr/lib $fs/usr 1.45 + cp -a $install/usr/share $fs/usr 1.46 }