wok-next view lyx/receipt @ rev 7120

Up: slitaz-configs (4.0) with new cooking artwork
author Christophe Lincoln <pankso@slitaz.org>
date Thu Nov 04 21:29:09 2010 +0100 (2010-11-04)
parents f946583d9bb9
children f2d50d1fc25e
line source
1 # SliTaz package receipt.
3 PACKAGE="lyx"
4 VERSION="1.6.7"
5 CATEGORY="office"
6 SHORT_DESC="An advanced open-source document processor."
7 MAINTAINER="gokhlayeh@slitaz.org"
8 DEPENDS="qt4 python perl imagemagick aspell aiksaurus"
9 BUILD_DEPENDS="Qt4-dev python-dev perl aiksaurus-dev"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.lyx.org"
12 WGET_URL="ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --with-frontend=qt4 \
23 $CONFIGURE_ARGS &&
24 make -j 4 && make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/share
31 cp -a $_pkg/usr/bin $fs/usr
32 cp -a $_pkg/usr/share/lyx $fs/usr/share
33 rm -r $fs/usr/share/lyx/doc $fs/usr/share/lyx/examples
34 }