wok annotate TeXmacs/receipt @ rev 8093
Up: tazwok-experimental 0.0.2.1
author | Antoine Bodin <gokhlayeh@slitaz.org> |
---|---|
date | Sat Jan 22 16:34:57 2011 +0100 (2011-01-22) |
parents | 432ed1a20735 |
children | d59705695f3d |
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@7681 | 8 DEPENDS="ghostscript gmp guile freetype TeXmacs-windows-fonts" |
pascal@7681 | 9 # freetype and TeXmacs-windows-fonts avoid depending on TeX which is a *huge* system |
pascal@7681 | 10 BUILD_DEPENDS="xorg-libX11-dev gmp-dev guile-dev freetype-dev imlib2-dev" |
pascal@7681 | 11 TARBALL="$PACKAGE-$VERSION-src.tar.gz" |
pascal@7681 | 12 WEB_SITE="http://www.texmacs.org/" |
pascal@7681 | 13 WGET_URL="ftp://ftp.texmacs.org/pub/$PACKAGE/targz/$TARBALL" |
pascal@7681 | 14 |
pascal@7681 | 15 # Rules to configure and make the package. |
pascal@7681 | 16 compile_rules() |
pascal@7681 | 17 { |
pascal@7681 | 18 mv $src-src $src 2> /dev/null |
pascal@7681 | 19 cd $src |
pascal@7681 | 20 ./configure \ |
pascal@7681 | 21 --with-imlib2 \ |
pascal@7681 | 22 --prefix=/usr \ |
pascal@7681 | 23 --infodir=/usr/share/info \ |
pascal@7681 | 24 --mandir=/usr/share/man \ |
pascal@7681 | 25 --libexecdir=/usr/lib \ |
pascal@7681 | 26 $CONFIGURE_ARGS && |
pascal@7681 | 27 make && make DESTDIR=$PWD/_pkg install |
pascal@7681 | 28 } |
pascal@7681 | 29 |
pascal@7681 | 30 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@7681 | 31 genpkg_rules() |
pascal@7681 | 32 { |
pascal@7681 | 33 mkdir -p $fs/usr |
pascal@7681 | 34 cp -a $_pkg/usr/bin $fs/usr |
pascal@7681 | 35 cp -a $_pkg/usr/lib $fs/usr |
pascal@7681 | 36 cp -a $_pkg/usr/share $fs/usr |
pascal@7683 | 37 } |