wok-6.x annotate lyx/receipt @ rev 8078

Up: mesa 7.10
author Antoine Bodin <gokhlayeh@slitaz.org>
date Sat Jan 22 02:37:34 2011 +0100 (2011-01-22)
parents d0f8d44e7331
children 2ab3d9ecde41
rev   line source
gokhlayeh@7033 1 # SliTaz package receipt.
gokhlayeh@7033 2
gokhlayeh@7033 3 PACKAGE="lyx"
slaxemulator@7282 4 VERSION="1.6.8"
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