wok-stable view TeXmacs/receipt @ rev 10068
tcl: Add $CONFIGURE_ARGS.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Fri May 20 05:19:01 2011 +0000 (2011-05-20) |
parents | 432ed1a20735 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="TeXmacs"
4 VERSION="1.0.7.8"
5 CATEGORY="office"
6 SHORT_DESC="The high quality of TeX with a wisiwyg editor"
7 MAINTAINER="slitaz@leledy.fr"
8 DEPENDS="ghostscript gmp guile freetype TeXmacs-windows-fonts"
9 # freetype and TeXmacs-windows-fonts avoid depending on TeX which is a *huge* system
10 BUILD_DEPENDS="xorg-libX11-dev gmp-dev guile-dev freetype-dev imlib2-dev"
11 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
12 WEB_SITE="http://www.texmacs.org/"
13 WGET_URL="ftp://ftp.texmacs.org/pub/$PACKAGE/targz/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 mv $src-src $src 2> /dev/null
19 cd $src
20 ./configure \
21 --with-imlib2 \
22 --prefix=/usr \
23 --infodir=/usr/share/info \
24 --mandir=/usr/share/man \
25 --libexecdir=/usr/lib \
26 $CONFIGURE_ARGS &&
27 make && make DESTDIR=$PWD/_pkg install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr
34 cp -a $_pkg/usr/bin $fs/usr
35 cp -a $_pkg/usr/lib $fs/usr
36 cp -a $_pkg/usr/share $fs/usr
37 }