wok rev 7681

Add TeXmacs (thanks Philippe)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Dec 17 15:18:25 2010 +0100 (2010-12-17)
parents 48d5488504e1
children 31edb0bbba7b
files TeXmacs-windows-fonts/receipt TeXmacs/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/TeXmacs-windows-fonts/receipt	Fri Dec 17 15:18:25 2010 +0100
     1.3 @@ -0,0 +1,25 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="TeXmacs-windows-fonts"
     1.7 +VERSION="1.0"
     1.8 +CATEGORY="office"
     1.9 +SHORT_DESC="Fonts for using TeXmacs without TeX"
    1.10 +MAINTAINER="slitaz@leledy.fr"
    1.11 +DEPENDS=""
    1.12 +TARBALL="$PACKAGE-$VERSION-noarch.tar.gz"
    1.13 +WEB_SITE="http://www.texmacs.org"
    1.14 +WGET_URL="ftp://ftp.texmacs.org/pub/TeXmacs/fonts/$TARBALL"
    1.15 +
    1.16 +# Rules to configure and make the package.
    1.17 +compile_rules()
    1.18 +{
    1.19 +   echo "Nothing to compile"
    1.20 +   [ -d fonts ]
    1.21 +}
    1.22 +
    1.23 +# Rules to gen a SliTaz package suitable for Tazpkg.
    1.24 +genpkg_rules()
    1.25 +{
    1.26 +     mkdir -p $fs/usr/share/TeXmacs/
    1.27 +     cp -a fonts $fs/usr/share/TeXmacs
    1.28 +}
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/TeXmacs/receipt	Fri Dec 17 15:18:25 2010 +0100
     2.3 @@ -0,0 +1,37 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="TeXmacs"
     2.7 +VERSION="1.0.7.8"
     2.8 +CATEGORY="office"
     2.9 +SHORT_DESC="The high quality of TeX with a wisiwyg editor"
    2.10 +MAINTAINER="slitaz@leledy.fr"
    2.11 +DEPENDS="ghostscript gmp guile freetype TeXmacs-windows-fonts"
    2.12 +# freetype and TeXmacs-windows-fonts avoid depending on TeX which is a *huge* system
    2.13 +BUILD_DEPENDS="xorg-libX11-dev gmp-dev guile-dev freetype-dev imlib2-dev"
    2.14 +TARBALL="$PACKAGE-$VERSION-src.tar.gz"
    2.15 +WEB_SITE="http://www.texmacs.org/"
    2.16 +WGET_URL="ftp://ftp.texmacs.org/pub/$PACKAGE/targz/$TARBALL"
    2.17 +
    2.18 +# Rules to configure and make the package.
    2.19 +compile_rules()
    2.20 +{
    2.21 +     mv $src-src $src 2> /dev/null
    2.22 +     cd $src
    2.23 +     ./configure \
    2.24 +         --with-imlib2 \
    2.25 +         --prefix=/usr \
    2.26 +         --infodir=/usr/share/info \
    2.27 +         --mandir=/usr/share/man \
    2.28 +         --libexecdir=/usr/lib \
    2.29 +         $CONFIGURE_ARGS &&
    2.30 +     make && make DESTDIR=$PWD/_pkg install
    2.31 +}
    2.32 +
    2.33 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.34 +genpkg_rules()
    2.35 +{
    2.36 +     mkdir -p $fs/usr
    2.37 +     cp -a $_pkg/usr/bin $fs/usr
    2.38 +     cp -a $_pkg/usr/lib $fs/usr
    2.39 +     cp -a $_pkg/usr/share $fs/usr
    2.40 +