wok-next view lyx/receipt @ rev 20869
mono: fix build on 32-bit
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Mon Jul 02 10:15:48 2018 +0300 (2018-07-02) |
parents | 2e9c640c058b |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="lyx"
4 VERSION="2.0.5.1"
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="http://www.lyx.org"
10 TARBALL="$PACKAGE-$VERSION.tar.xz"
11 WGET_URL="ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/$TARBALL"
13 BUILD_DEPENDS="python Qt4-dev bison aspell-dev xorg-libX11-dev aiksaurus-dev \
14 zlib-dev"
15 SPLIT="lyx lyx-dev lyx-examples lyx-locales"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure --with-frontend=qt4 $CONFIGURE_ARGS &&
21 make &&
22 make -j1 install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 case $PACKAGE in
29 lyx)
30 DEPENDS="aiksaurus aspell bzlib libQtGui python"
31 mkdir -p $fs/usr/share
32 cp -a $install/usr/bin $fs/usr
33 cp -a $install/usr/share/lyx $fs/usr/share
34 rm -r $fs/usr/share/lyx/doc $fs/usr/share/lyx/examples
35 ;;
36 lyx-doc)
37 CAT="office|Documentation for LyX"
38 DEPENDS="lyx"
39 mkdir -p $fs/usr/share/lyx
40 cp -a $install/usr/share/lyx/doc $fs/usr/share/lyx
41 ;;
42 lyx-examples)
43 CAT="officer|Examples for LyX"
44 DEPENDS="lyx"
45 mkdir -p $fs/usr/share/lyx
46 cp -a $install/usr/share/lyx/examples $fs/usr/share/lyx
47 ;;
48 lyx-locales)
49 CAT="localization|Locale files for LyX"
50 DEPENDS="lyx"
51 mkdir -p $fs/usr/share
52 cp -a $install/usr/share/locale $fs/usr/share
53 ;;
54 esac
55 }