wok-current diff lyx/receipt @ rev 14573

Transmission-cli shouldn't install Transmission-gtk
author Brenton Scott <admin@trixarian.net>
date Fri May 24 18:26:23 2013 +0200 (2013-05-24)
parents 04dbd2523d34
children 7896f0694ef6
line diff
     1.1 --- a/lyx/receipt	Tue Jan 08 21:25:10 2013 +0100
     1.2 +++ b/lyx/receipt	Fri May 24 18:26:23 2013 +0200
     1.3 @@ -1,33 +1,30 @@
     1.4  # SliTaz package receipt.
     1.5  
     1.6  PACKAGE="lyx"
     1.7 -VERSION="1.6.9"
     1.8 +VERSION="2.0.5.1"
     1.9  CATEGORY="office"
    1.10 -SHORT_DESC="An advanced open-source document processor."
    1.11 +SHORT_DESC="An advanced WYSIWYM document processor & LaTeX front-end"
    1.12  MAINTAINER="gokhlayeh@slitaz.org"
    1.13 -DEPENDS="qt4 python perl imagemagick aspell aiksaurus"
    1.14 -BUILD_DEPENDS="Qt4-dev"
    1.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    1.16  WEB_SITE="http://www.lyx.org"
    1.17 -WGET_URL="ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/$TARBALL"
    1.18 +TARBALL="$PACKAGE-$VERSION.tar.xz"
    1.19 +WGET_URL="ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/$TARBALL"
    1.20 +
    1.21 +DEPENDS="aiksaurus aspell bzlib libQtGui python"
    1.22 +BUILD_DEPENDS="python Qt4-dev bison aspell-dev xorg-libX11-dev aiksaurus-dev"
    1.23  
    1.24  # Rules to configure and make the package.
    1.25  compile_rules()
    1.26  {
    1.27 -	cd $src
    1.28 -	sed -i 's|.*define STRFWD_H.*|&\n#include <stdlib.h>|' src/support/strfwd.h
    1.29 -	sed -i 's|.*<algorithm>.*|#include <cstddef>\n&|' src/support/weighted_btree.h
    1.30  	./configure --with-frontend=qt4 $CONFIGURE_ARGS &&
    1.31 -	make && make -j1 install
    1.32 +	make &&
    1.33 +	make -j1 install
    1.34  }
    1.35  
    1.36  # Rules to gen a SliTaz package suitable for Tazpkg.
    1.37  genpkg_rules()
    1.38  {
    1.39 -	mkdir -p $fs/usr/share/applications
    1.40 -	cp -a $install/usr/bin $fs/usr
    1.41 -	cp -a $install/usr/share/lyx $fs/usr/share
    1.42 -	cp -a $stuff/lyx.desktop $fs/usr/share/applications
    1.43 +	mkdir -p $fs/usr/share
    1.44 +	cp -a $_pkg/usr/bin $fs/usr
    1.45 +	cp -a $_pkg/usr/share/lyx $fs/usr/share
    1.46  	rm -r $fs/usr/share/lyx/doc $fs/usr/share/lyx/examples
    1.47  }
    1.48 -