wok-next annotate lyx/receipt @ rev 20153
syslinux: receipt v2
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Nov 01 15:14:00 2017 +0100 (2017-11-01) |
parents | 16df76e1fc6a |
children | 2e9c640c058b |
rev | line source |
---|---|
gokhlayeh@7033 | 1 # SliTaz package receipt. |
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 |
al@13912 | 13 DEPENDS="aiksaurus aspell bzlib libQtGui python" |
pascal@19982 | 14 BUILD_DEPENDS="python Qt4-dev bison aspell-dev xorg-libX11-dev aiksaurus-dev \ |
pascal@19982 | 15 zlib-dev" |
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 { |
al@13912 | 28 mkdir -p $fs/usr/share |
pascal@15002 | 29 cp -a $install/usr/bin $fs/usr |
pascal@15002 | 30 cp -a $install/usr/share/lyx $fs/usr/share |
gokhlayeh@7033 | 31 rm -r $fs/usr/share/lyx/doc $fs/usr/share/lyx/examples |
gokhlayeh@7033 | 32 } |
al@18077 | 33 |