2006-02-23 16:26:10 +01:00
|
|
|
# Description: LaTeX enabled word processor
|
|
|
|
# URL: http://www.lyx.org
|
2006-04-13 23:43:04 +02:00
|
|
|
# Maintainer: Simone Rota, sip at crux dot nu
|
|
|
|
# Packager: Simone Rota, sip at crux dot nu
|
2008-02-14 18:26:08 +01:00
|
|
|
# Depends on: tetex, qt4, imagemagick
|
2006-02-23 16:26:10 +01:00
|
|
|
|
|
|
|
name=lyx
|
2008-11-23 19:45:21 +01:00
|
|
|
version=1.6.0
|
2006-02-23 16:26:10 +01:00
|
|
|
release=1
|
|
|
|
source=(ftp://ftp.lyx.org/pub/$name/stable/$name-$version.tar.bz2)
|
|
|
|
|
|
|
|
build(){
|
|
|
|
cd $name-$version
|
2008-02-14 18:26:08 +01:00
|
|
|
export QTDIR=/usr/share/qt4
|
|
|
|
./configure --prefix=/usr --with-frontend=qt4 --disable-nls \
|
2006-12-07 21:14:47 +01:00
|
|
|
--mandir=/usr/man
|
2006-02-23 16:26:10 +01:00
|
|
|
make
|
|
|
|
make DESTDIR=$PKG install
|
|
|
|
|
|
|
|
rm -rf $PKG/usr/info
|
|
|
|
rm -rf $PKG/usr/share/lyx/examples
|
2008-05-27 07:50:27 +02:00
|
|
|
|
|
|
|
# remove localization files
|
|
|
|
rm -rf $PKG/usr/share/lyx/bind/??/ \
|
|
|
|
$PKG/usr/share/lyx/doc/??/
|
2006-02-23 16:26:10 +01:00
|
|
|
}
|
|
|
|
|