# HG changeset patch # User Pascal Bellard # Date 1292595505 -3600 # Node ID 432ed1a20735cbbeae76d40ec6f34ae3964443c1 # Parent 48d5488504e15872c860f8e8ab81e0079a3988de Add TeXmacs (thanks Philippe) diff -r 48d5488504e1 -r 432ed1a20735 TeXmacs-windows-fonts/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TeXmacs-windows-fonts/receipt Fri Dec 17 15:18:25 2010 +0100 @@ -0,0 +1,25 @@ +# SliTaz package receipt. + +PACKAGE="TeXmacs-windows-fonts" +VERSION="1.0" +CATEGORY="office" +SHORT_DESC="Fonts for using TeXmacs without TeX" +MAINTAINER="slitaz@leledy.fr" +DEPENDS="" +TARBALL="$PACKAGE-$VERSION-noarch.tar.gz" +WEB_SITE="http://www.texmacs.org" +WGET_URL="ftp://ftp.texmacs.org/pub/TeXmacs/fonts/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + echo "Nothing to compile" + [ -d fonts ] +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share/TeXmacs/ + cp -a fonts $fs/usr/share/TeXmacs +} diff -r 48d5488504e1 -r 432ed1a20735 TeXmacs/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/TeXmacs/receipt Fri Dec 17 15:18:25 2010 +0100 @@ -0,0 +1,37 @@ +# SliTaz package receipt. + +PACKAGE="TeXmacs" +VERSION="1.0.7.8" +CATEGORY="office" +SHORT_DESC="The high quality of TeX with a wisiwyg editor" +MAINTAINER="slitaz@leledy.fr" +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 + ./configure \ + --with-imlib2 \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --libexecdir=/usr/lib \ + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg 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 +