wok annotate TeXmacs/receipt @ rev 19368

Up cookutils (824), tazpanel (598)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Aug 06 09:12:16 2016 +0200 (2016-08-06)
parents 3f554d69c3ce
children a3b6dd3aac6f
rev   line source
pascal@7681 1 # SliTaz package receipt.
pascal@7681 2
pascal@7681 3 PACKAGE="TeXmacs"
pascal@7681 4 VERSION="1.0.7.8"
pascal@7681 5 CATEGORY="office"
pascal@7681 6 SHORT_DESC="The high quality of TeX with a wisiwyg editor"
pascal@7681 7 MAINTAINER="slitaz@leledy.fr"
pascal@15294 8 LICENSE="GPL"
pascal@15294 9 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
pascal@15294 10 WEB_SITE="http://www.texmacs.org/"
pascal@15294 11 WGET_URL="ftp://ftp.texmacs.org/pub/$PACKAGE/targz/$TARBALL"
pascal@15294 12
pascal@7681 13 DEPENDS="ghostscript gmp guile freetype TeXmacs-windows-fonts"
pascal@7681 14 # freetype and TeXmacs-windows-fonts avoid depending on TeX which is a *huge* system
pascal@7681 15 BUILD_DEPENDS="xorg-libX11-dev gmp-dev guile-dev freetype-dev imlib2-dev"
pascal@7681 16
pascal@7681 17 # Rules to configure and make the package.
pascal@7681 18 compile_rules()
pascal@7681 19 {
pascal@7681 20 mv $src-src $src 2> /dev/null
pascal@7681 21 cd $src
pascal@15294 22 sed -i 's|.*include <util.h>|//&|' plugins/shell/src/tm_shell.cpp plugins/r/src/tm_r.c
pascal@7681 23 ./configure \
pascal@7681 24 --with-imlib2 \
pascal@7681 25 --prefix=/usr \
pascal@7681 26 --infodir=/usr/share/info \
pascal@7681 27 --mandir=/usr/share/man \
pascal@7681 28 --libexecdir=/usr/lib \
pascal@7681 29 $CONFIGURE_ARGS &&
pascal@15294 30 make && make DESTDIR=$DESTDIR install
pascal@7681 31 }
pascal@7681 32
pascal@7681 33 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@7681 34 genpkg_rules()
pascal@7681 35 {
pascal@7681 36 mkdir -p $fs/usr
pascal@15294 37 cp -a $install/usr/bin $fs/usr
pascal@15294 38 cp -a $install/usr/lib $fs/usr
pascal@15294 39 cp -a $install/usr/share $fs/usr
pascal@7683 40 }