wok-next annotate lyx/receipt @ rev 16671

Up: slitaz-boot-scripts (5.6.1) with "font=" cheatcode
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu May 15 20:49:53 2014 +0300 (2014-05-15)
parents c381a12e66ee
children 16df76e1fc6a
rev   line source
gokhlayeh@7033 1 # SliTaz package receipt.
gokhlayeh@7033 2
gokhlayeh@7033 3 PACKAGE="lyx"
al@13912 4 VERSION="2.0.5.1"
gokhlayeh@7033 5 CATEGORY="office"
al@13912 6 SHORT_DESC="An advanced WYSIWYM document processor & LaTeX front-end"
gokhlayeh@7033 7 MAINTAINER="gokhlayeh@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
gokhlayeh@7033 9 WEB_SITE="http://www.lyx.org"
al@13912 10 TARBALL="$PACKAGE-$VERSION.tar.xz"
al@13912 11 WGET_URL="ftp://ftp.lyx.org/pub/lyx/stable/2.0.x/$TARBALL"
al@13912 12
al@13912 13 DEPENDS="aiksaurus aspell bzlib libQtGui python"
al@13912 14 BUILD_DEPENDS="python Qt4-dev bison aspell-dev xorg-libX11-dev aiksaurus-dev"
gokhlayeh@7033 15
gokhlayeh@7033 16 # Rules to configure and make the package.
gokhlayeh@7033 17 compile_rules()
gokhlayeh@7033 18 {
gokhlayeh@11573 19 ./configure --with-frontend=qt4 $CONFIGURE_ARGS &&
al@13912 20 make &&
al@13912 21 make -j1 install
gokhlayeh@7033 22 }
gokhlayeh@7033 23
gokhlayeh@7033 24 # Rules to gen a SliTaz package suitable for Tazpkg.
gokhlayeh@7033 25 genpkg_rules()
gokhlayeh@7033 26 {
al@13912 27 mkdir -p $fs/usr/share
pascal@15002 28 cp -a $install/usr/bin $fs/usr
pascal@15002 29 cp -a $install/usr/share/lyx $fs/usr/share
gokhlayeh@7033 30 rm -r $fs/usr/share/lyx/doc $fs/usr/share/lyx/examples
gokhlayeh@7033 31 }