wok annotate lyx/receipt @ rev 13839

lyx: add lyx.desktop
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Jan 08 10:01:39 2013 +0100 (2013-01-08)
parents b7319995b37e
children 04dbd2523d34
rev   line source
gokhlayeh@7033 1 # SliTaz package receipt.
gokhlayeh@7033 2
gokhlayeh@7033 3 PACKAGE="lyx"
slaxemulator@8499 4 VERSION="1.6.9"
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"
gokhlayeh@8924 9 BUILD_DEPENDS="Qt4-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@11573 18 ./configure --with-frontend=qt4 $CONFIGURE_ARGS &&
gokhlayeh@8924 19 make && make -j1 install
gokhlayeh@7033 20 }
gokhlayeh@7033 21
gokhlayeh@7033 22 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@7033 23 genpkg_rules()
gokhlayeh@7033 24 {
pascal@13839 25 mkdir -p $fs/usr/share/applications
pascal@13839 26 cp -a $install/usr/bin $fs/usr
pascal@13839 27 cp -a $install/usr/share/lyx $fs/usr/share
pascal@13839 28 cp -a $stuff/lyx.desktop $fs/usr/share/applications
gokhlayeh@7033 29 rm -r $fs/usr/share/lyx/doc $fs/usr/share/lyx/examples
gokhlayeh@7033 30 }
gokhlayeh@7033 31