# HG changeset patch # User Pascal Bellard # Date 1380274174 0 # Node ID d59705695f3df428d98673ac49e6e58a0debb17a # Parent c4137c3f739687c9083d7a8bc40c37d505480c18 TeXmacs: remove util.h diff -r c4137c3f7396 -r d59705695f3d TeXmacs/receipt --- a/TeXmacs/receipt Fri Sep 27 08:54:59 2013 +0000 +++ b/TeXmacs/receipt Fri Sep 27 09:29:34 2013 +0000 @@ -5,18 +5,21 @@ CATEGORY="office" SHORT_DESC="The high quality of TeX with a wisiwyg editor" MAINTAINER="slitaz@leledy.fr" +LICENSE="GPL" +TARBALL="$PACKAGE-$VERSION-src.tar.gz" +WEB_SITE="http://www.texmacs.org/" +WGET_URL="ftp://ftp.texmacs.org/pub/$PACKAGE/targz/$TARBALL" + DEPENDS="ghostscript gmp guile freetype TeXmacs-windows-fonts" # freetype and TeXmacs-windows-fonts avoid depending on TeX which is a *huge* system BUILD_DEPENDS="xorg-libX11-dev gmp-dev guile-dev freetype-dev imlib2-dev" -TARBALL="$PACKAGE-$VERSION-src.tar.gz" -WEB_SITE="http://www.texmacs.org/" -WGET_URL="ftp://ftp.texmacs.org/pub/$PACKAGE/targz/$TARBALL" # Rules to configure and make the package. compile_rules() { mv $src-src $src 2> /dev/null cd $src + sed -i 's|.*include |//&|' plugins/shell/src/tm_shell.cpp plugins/r/src/tm_r.c ./configure \ --with-imlib2 \ --prefix=/usr \ @@ -24,14 +27,14 @@ --mandir=/usr/share/man \ --libexecdir=/usr/lib \ $CONFIGURE_ARGS && - make && make DESTDIR=$PWD/_pkg install + make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr - cp -a $_pkg/usr/bin $fs/usr - cp -a $_pkg/usr/lib $fs/usr - cp -a $_pkg/usr/share $fs/usr + cp -a $install/usr/bin $fs/usr + cp -a $install/usr/lib $fs/usr + cp -a $install/usr/share $fs/usr }