wok-6.x view lyx/receipt @ rev 14065
shaarli: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Wed Feb 20 12:48:01 2013 +0100 (2013-02-20) |
parents | 04dbd2523d34 |
children | 7896f0694ef6 |
line source
1 # SliTaz package receipt.
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 WEB_SITE="http://www.lyx.org"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WGET_URL="ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/$TARBALL"
12 DEPENDS="aiksaurus aspell bzlib libQtGui python"
13 BUILD_DEPENDS="python Qt4-dev bison aspell-dev xorg-libX11-dev aiksaurus-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 ./configure --with-frontend=qt4 $CONFIGURE_ARGS &&
19 make &&
20 make -j1 install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/share
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/share/lyx $fs/usr/share
29 rm -r $fs/usr/share/lyx/doc $fs/usr/share/lyx/examples
30 }