wok view lyx/receipt @ rev 13869

Add njconnect - ncurses utility to connect Jack apps.
author Pawel P. <xj@wp.pl>
date Sun Jan 13 19:44:58 2013 +0000 (2013-01-13)
parents 3474ac7c6bdd
children c381a12e66ee
line source
1 # SliTaz package receipt.
3 PACKAGE="lyx"
4 VERSION="1.6.9"
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"
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 sed -i 's|.*define STRFWD_H.*|&\n#include <stdlib.h>|' src/support/strfwd.h
19 sed -i 's|.*<algorithm>.*|#include <cstddef>\n&|' src/support/weighted_btree.h
20 ./configure --with-frontend=qt4 $CONFIGURE_ARGS &&
21 make && make -j1 install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share/applications
28 cp -a $install/usr/bin $fs/usr
29 cp -a $install/usr/share/lyx $fs/usr/share
30 cp -a $stuff/lyx.desktop $fs/usr/share/applications
31 rm -r $fs/usr/share/lyx/doc $fs/usr/share/lyx/examples
32 }