wok-current view lyx/receipt @ rev 24804
updated liblouis and liblouis-dev (3.13.0 -> 3.21.0)
author | Hans-G?nter Theisgen |
---|---|
date | Tue Mar 22 10:57:54 2022 +0100 (2022-03-22) |
parents | f745274ff5c8 |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="lyx"
4 VERSION="2.3.6.1"
5 CATEGORY="office"
6 SHORT_DESC="An advanced WYSIWYM document processor and 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 # What is the latest version available today?
19 current_version()
20 {
21 wget -O - $WEB_SITE 2>/dev/null | \
22 sed '/released\./!d;s|.*LyX ||;s| rel.*||;q'
23 }
25 # Rules to configure and make the package.
26 compile_rules()
27 {
28 # 2.3.4.4 unrecognised:
29 # --with-frontend=qt4
30 ./configure \
31 CC=gcc-83 \
32 CXX=g++-83 \
33 $CONFIGURE_ARGS &&
34 make &&
35 make install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/share/lyx $fs/usr/share
46 rm -r $fs/usr/share/lyx/doc
47 rm -r $fs/usr/share/lyx/examples
48 }