wok-next annotate lyx/receipt @ rev 20159

lyx: receipt v2
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Nov 01 17:04:22 2017 +0100 (2017-11-01)
parents b4f791f1a656
children 9dc05d12ebef
rev   line source
pascal@20159 1 # SliTaz package receipti v2.
gokhlayeh@7033 2
gokhlayeh@7033 3 PACKAGE="lyx"
al@13912 4 VERSION="2.0.5.1"
gokhlayeh@7033 5 CATEGORY="office"
al@13912 6 SHORT_DESC="An advanced WYSIWYM document processor & LaTeX front-end"
gokhlayeh@7033 7 MAINTAINER="gokhlayeh@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
gokhlayeh@7033 9 WEB_SITE="http://www.lyx.org"
al@13912 10 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@13912 11 WGET_URL="ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/$TARBALL"
al@13912 12
pascal@19982 13 BUILD_DEPENDS="python Qt4-dev bison aspell-dev xorg-libX11-dev aiksaurus-dev \
pascal@19982 14 zlib-dev"
pascal@20159 15 SPLIT="lyx lyx-dev lyx-examples lyx-locales"
gokhlayeh@7033 16
gokhlayeh@7033 17 # Rules to configure and make the package.
gokhlayeh@7033 18 compile_rules()
gokhlayeh@7033 19 {
gokhlayeh@11573 20 ./configure --with-frontend=qt4 $CONFIGURE_ARGS &&
al@13912 21 make &&
al@13912 22 make -j1 install
gokhlayeh@7033 23 }
gokhlayeh@7033 24
gokhlayeh@7033 25 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@7033 26 genpkg_rules()
gokhlayeh@7033 27 {
pascal@20159 28 case $PACKAGE in
pascal@20159 29 lyx)
pascal@20159 30 DEPENDS="aiksaurus aspell bzlib libQtGui python"
pascal@20159 31 mkdir -p $fs/usr/share
pascal@20159 32 cp -a $install/usr/bin $fs/usr
pascal@20159 33 cp -a $install/usr/share/lyx $fs/usr/share
pascal@20159 34 rm -r $fs/usr/share/lyx/doc $fs/usr/share/lyx/examples
pascal@20159 35 ;;
pascal@20159 36 lyx-doc)
pascal@20159 37 CAT="office|Documentation for LyX"
pascal@20159 38 DEPENDS="lyx"
pascal@20159 39 mkdir -p $fs/usr/share/lyx
pascal@20159 40 cp -a $install/usr/share/lyx/doc $fs/usr/share/lyx
pascal@20159 41 ;;
pascal@20159 42 lyx-examples)
pascal@20159 43 CAT="officer|Examples for LyX"
pascal@20159 44 DEPENDS="lyx"
pascal@20159 45 mkdir -p $fs/usr/share/lyx
pascal@20159 46 cp -a $install/usr/share/lyx/examples $fs/usr/share/lyx
pascal@20159 47 ;;
pascal@20159 48 lyx-locales)
pascal@20159 49 CAT="localization|Locale files for LyX"
pascal@20159 50 DEPENDS="lyx"
pascal@20159 51 mkdir -p $fs/usr/share
pascal@20159 52 cp -a $install/usr/share/locale $fs/usr/share
pascal@20159 53 ;;
pascal@20159 54 esac
gokhlayeh@7033 55 }