wok diff TeXmacs/receipt @ 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 | |
children | 3f554d69c3ce |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/TeXmacs/receipt Fri Dec 17 15:18:25 2010 +0100 1.3 @@ -0,0 +1,37 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="TeXmacs" 1.7 +VERSION="1.0.7.8" 1.8 +CATEGORY="office" 1.9 +SHORT_DESC="The high quality of TeX with a wisiwyg editor" 1.10 +MAINTAINER="slitaz@leledy.fr" 1.11 +DEPENDS="ghostscript gmp guile freetype TeXmacs-windows-fonts" 1.12 +# freetype and TeXmacs-windows-fonts avoid depending on TeX which is a *huge* system 1.13 +BUILD_DEPENDS="xorg-libX11-dev gmp-dev guile-dev freetype-dev imlib2-dev" 1.14 +TARBALL="$PACKAGE-$VERSION-src.tar.gz" 1.15 +WEB_SITE="http://www.texmacs.org/" 1.16 +WGET_URL="ftp://ftp.texmacs.org/pub/$PACKAGE/targz/$TARBALL" 1.17 + 1.18 +# Rules to configure and make the package. 1.19 +compile_rules() 1.20 +{ 1.21 + mv $src-src $src 2> /dev/null 1.22 + cd $src 1.23 + ./configure \ 1.24 + --with-imlib2 \ 1.25 + --prefix=/usr \ 1.26 + --infodir=/usr/share/info \ 1.27 + --mandir=/usr/share/man \ 1.28 + --libexecdir=/usr/lib \ 1.29 + $CONFIGURE_ARGS && 1.30 + make && make DESTDIR=$PWD/_pkg install 1.31 +} 1.32 + 1.33 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.34 +genpkg_rules() 1.35 +{ 1.36 + mkdir -p $fs/usr 1.37 + cp -a $_pkg/usr/bin $fs/usr 1.38 + cp -a $_pkg/usr/lib $fs/usr 1.39 + cp -a $_pkg/usr/share $fs/usr 1.40 +