wok view TeXmacs/receipt @ rev 25567
use wxWidgets 2.8 for amule
author | Hans-G?nter Theisgen |
---|---|
date | Fri May 12 17:54:34 2023 +0100 (18 months ago) |
parents | d59705695f3d |
children | 65b71231eeb9 |
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 LICENSE="GPL"
9 TARBALL="$PACKAGE-$VERSION-src.tar.gz"
10 WEB_SITE="http://www.texmacs.org/"
11 WGET_URL="ftp://ftp.texmacs.org/pub/$PACKAGE/targz/$TARBALL"
13 DEPENDS="ghostscript gmp guile freetype TeXmacs-windows-fonts"
14 # freetype and TeXmacs-windows-fonts avoid depending on TeX which is a *huge* system
15 BUILD_DEPENDS="xorg-libX11-dev gmp-dev guile-dev freetype-dev imlib2-dev"
17 current_version()
18 {
19 wget -O - http://ftp.texmacs.org/pub/$PACKAGE/targz/ 2>/dev/null | \
20 sed "/src.tar/!d;s|.*$PACKAGE-\\(.*\\).src.*\".*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 mv $src-src $src 2> /dev/null
27 cd $src
28 sed -i 's|.*include <util.h>|//&|' plugins/shell/src/tm_shell.cpp plugins/r/src/tm_r.c
29 ./configure \
30 --with-imlib2 \
31 --prefix=/usr \
32 --infodir=/usr/share/info \
33 --mandir=/usr/share/man \
34 --libexecdir=/usr/lib \
35 $CONFIGURE_ARGS &&
36 make && make DESTDIR=$DESTDIR install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib $fs/usr
45 cp -a $install/usr/share $fs/usr
46 }