wok-6.x annotate lyx/receipt @ rev 24354
created recipe for py3k-dbus-1.2.18
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 03 15:11:19 2022 +0100 (2022-02-03) |
parents | f745274ff5c8 |
children |
rev | line source |
---|---|
gokhlayeh@7033 | 1 # SliTaz package receipt. |
gokhlayeh@7033 | 2 |
gokhlayeh@7033 | 3 PACKAGE="lyx" |
Hans-G?nter@24315 | 4 VERSION="2.3.6.1" |
gokhlayeh@7033 | 5 CATEGORY="office" |
Hans-G?nter@24315 | 6 SHORT_DESC="An advanced WYSIWYM document processor and LaTeX front-end." |
gokhlayeh@7033 | 7 MAINTAINER="gokhlayeh@slitaz.org" |
pascal@15002 | 8 LICENSE="GPL2" |
Hans-G?nter@24315 | 9 WEB_SITE="https://www.lyx.org/" |
al@13912 | 10 |
Hans-G?nter@23158 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
Hans-G?nter@23158 | 12 WGET_URL="ftp://ftp.lyx.org/pub/lyx/stable/${VERSION%.*.*}.x/$TARBALL" |
Hans-G?nter@23158 | 13 |
pascal@23978 | 14 DEPENDS="aiksaurus aspell bzlib gcc83-lib-base libQtGui libQtSvg python" |
Hans-G?nter@23159 | 15 BUILD_DEPENDS="aiksaurus-dev aspell-dev bison gcc83 python Qt4-dev |
Hans-G?nter@23158 | 16 xorg-libX11-dev" |
gokhlayeh@7033 | 17 |
pascal@24319 | 18 # What is the latest version available today? |
pascal@24319 | 19 current_version() |
pascal@24319 | 20 { |
pascal@24319 | 21 wget -O - $WEB_SITE 2>/dev/null | \ |
pascal@24319 | 22 sed '/released\./!d;s|.*LyX ||;s| rel.*||;q' |
pascal@24319 | 23 } |
pascal@24319 | 24 |
gokhlayeh@7033 | 25 # Rules to configure and make the package. |
gokhlayeh@7033 | 26 compile_rules() |
gokhlayeh@7033 | 27 { |
Hans-G?nter@23158 | 28 # 2.3.4.4 unrecognised: |
Hans-G?nter@23158 | 29 # --with-frontend=qt4 |
Hans-G?nter@24315 | 30 ./configure \ |
Hans-G?nter@24315 | 31 CC=gcc-83 \ |
Hans-G?nter@24315 | 32 CXX=g++-83 \ |
Hans-G?nter@23158 | 33 $CONFIGURE_ARGS && |
al@13912 | 34 make && |
Hans-G?nter@24315 | 35 make install |
gokhlayeh@7033 | 36 } |
gokhlayeh@7033 | 37 |
gokhlayeh@7033 | 38 # Rules to gen a SliTaz package suitable for Tazpkg. |
gokhlayeh@7033 | 39 genpkg_rules() |
gokhlayeh@7033 | 40 { |
al@13912 | 41 mkdir -p $fs/usr/share |
Hans-G?nter@23158 | 42 |
Hans-G?nter@23158 | 43 cp -a $install/usr/bin $fs/usr |
Hans-G?nter@23158 | 44 cp -a $install/usr/share/lyx $fs/usr/share |
Hans-G?nter@23158 | 45 |
Hans-G?nter@23158 | 46 rm -r $fs/usr/share/lyx/doc |
Hans-G?nter@23158 | 47 rm -r $fs/usr/share/lyx/examples |
gokhlayeh@7033 | 48 } |
al@18077 | 49 |