wok-next view lyx/receipt @ rev 21720

qt4: replaced libIDL by libidl
author Hans-G?nter Theisgen
date Wed Aug 05 09:22:38 2020 +0100 (2020-08-05)
parents 5669e8b3be70
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lyx"
4 VERSION="2.0.5.1"
5 CATEGORY="office"
6 SHORT_DESC="Advanced WYSIWYM document processor & LaTeX front-end"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.lyx.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.xz"
12 WGET_URL="ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/$TARBALL"
14 BUILD_DEPENDS="python Qt4-dev bison aspell-dev libx11-dev aiksaurus-dev \
15 zlib-dev"
16 SPLIT="$PACKAGE-doc $PACKAGE-examples $PACKAGE-locales $PACKAGE"
18 compile_rules() {
19 ./configure \
20 --with-frontend=qt4 \
21 $CONFIGURE_ARGS &&
22 make &&
23 make -j1 install
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 *-doc)
29 copy usr/share/lyx/doc/
30 CAT="office|documentation"
31 DEPENDS="lyx"
32 ;;
33 *-examples)
34 copy usr/share/lyx/examples/
35 CAT="officer|examples"
36 DEPENDS="lyx"
37 ;;
38 *-locales)
39 copy locale/
40 CAT="localization|locale files"
41 DEPENDS="lyx"
42 ;;
43 lyx)
44 copy @std @rm
45 DEPENDS="aiksaurus aspell libbzip2 libQtGui python"
46 ;;
47 esac
48 }