wok-current annotate lyx/receipt @ rev 7039

Fixed typo in lyx build depends.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Oct 31 19:45:29 2010 +0000 (2010-10-31)
parents f946583d9bb9
children f2d50d1fc25e
rev   line source
gokhlayeh@7033 1 # SliTaz package receipt.
gokhlayeh@7033 2
gokhlayeh@7033 3 PACKAGE="lyx"
gokhlayeh@7033 4 VERSION="1.6.7"
gokhlayeh@7033 5 CATEGORY="office"
gokhlayeh@7033 6 SHORT_DESC="An advanced open-source document processor."
gokhlayeh@7033 7 MAINTAINER="gokhlayeh@slitaz.org"
gokhlayeh@7033 8 DEPENDS="qt4 python perl imagemagick aspell aiksaurus"
slaxemulator@7039 9 BUILD_DEPENDS="Qt4-dev python-dev perl aiksaurus-dev"
gokhlayeh@7033 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
gokhlayeh@7033 11 WEB_SITE="http://www.lyx.org"
gokhlayeh@7033 12 WGET_URL="ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/$TARBALL"
gokhlayeh@7033 13
gokhlayeh@7033 14 # Rules to configure and make the package.
gokhlayeh@7033 15 compile_rules()
gokhlayeh@7033 16 {
gokhlayeh@7033 17 cd $src
gokhlayeh@7033 18 ./configure \
gokhlayeh@7033 19 --prefix=/usr \
gokhlayeh@7033 20 --infodir=/usr/share/info \
gokhlayeh@7033 21 --mandir=/usr/share/man \
gokhlayeh@7033 22 --with-frontend=qt4 \
gokhlayeh@7033 23 $CONFIGURE_ARGS &&
gokhlayeh@7033 24 make -j 4 && make DESTDIR=$PWD/_pkg install
gokhlayeh@7033 25 }
gokhlayeh@7033 26
gokhlayeh@7033 27 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@7033 28 genpkg_rules()
gokhlayeh@7033 29 {
gokhlayeh@7033 30 mkdir -p $fs/usr/share
gokhlayeh@7033 31 cp -a $_pkg/usr/bin $fs/usr
gokhlayeh@7033 32 cp -a $_pkg/usr/share/lyx $fs/usr/share
gokhlayeh@7033 33 rm -r $fs/usr/share/lyx/doc $fs/usr/share/lyx/examples
gokhlayeh@7033 34 }
gokhlayeh@7033 35