wok-current annotate lyx/receipt @ rev 12539
grapphviz: need pcre-dev bdep since pango/glib now use system pcre
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Thu Apr 26 02:32:10 2012 +0200 (2012-04-26) |
parents | e40df8ebe0f0 |
children | 3474ac7c6bdd |
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 { |
gokhlayeh@7033 | 25 mkdir -p $fs/usr/share |
gokhlayeh@7033 | 26 cp -a $_pkg/usr/bin $fs/usr |
gokhlayeh@7033 | 27 cp -a $_pkg/usr/share/lyx $fs/usr/share |
gokhlayeh@7033 | 28 rm -r $fs/usr/share/lyx/doc $fs/usr/share/lyx/examples |
gokhlayeh@7033 | 29 } |
gokhlayeh@7033 | 30 |