wok-6.x view TeXmacs/receipt @ rev 13877

asterisk: use $ARCH
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 15 11:06:23 2013 +0100 (2013-01-15)
parents 432ed1a20735
children d59705695f3d
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 }