wok view lyx/receipt @ rev 23978

lyx: update deps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Nov 06 17:28:17 2020 +0000 (3 months ago)
parents 7a3254180b69
children
line source
1 # SliTaz package receipt.
3 PACKAGE="lyx"
4 VERSION="2.3.4.4"
5 CATEGORY="office"
6 SHORT_DESC="An advanced WYSIWYM document processor & LaTeX front-end"
7 MAINTAINER="gokhlayeh@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.lyx.org"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="ftp://ftp.lyx.org/pub/lyx/stable/${VERSION%.*.*}.x/$TARBALL"
14 DEPENDS="aiksaurus aspell bzlib gcc83-lib-base libQtGui libQtSvg python"
15 BUILD_DEPENDS="aiksaurus-dev aspell-dev bison gcc83 python Qt4-dev
16 xorg-libX11-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # 2.3.4.4 unrecognised:
22 # --with-frontend=qt4
23 ./configure \
24 CC=gcc-83 \
25 CXX=g++-83 \
26 $CONFIGURE_ARGS &&
27 make &&
28 make -j1 install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/share
36 cp -a $install/usr/bin $fs/usr
37 cp -a $install/usr/share/lyx $fs/usr/share
39 rm -r $fs/usr/share/lyx/doc
40 rm -r $fs/usr/share/lyx/examples
41 }