# HG changeset patch # User Antoine Bodin # Date 1288564088 -3600 # Node ID f946583d9bb9e2f8e45866c1f7ba8f32999389fa # Parent 79077110c5c7f158b90c89fdfacccd8ec23a089d Add: lyx (1.6.7) diff -r 79077110c5c7 -r f946583d9bb9 lyx/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/lyx/receipt Sun Oct 31 23:28:08 2010 +0100 @@ -0,0 +1,35 @@ +# SliTaz package receipt. + +PACKAGE="lyx" +VERSION="1.6.7" +CATEGORY="office" +SHORT_DESC="An advanced open-source document processor." +MAINTAINER="gokhlayeh@slitaz.org" +DEPENDS="qt4 python perl imagemagick aspell aiksaurus" +BUILD_DEPENDS="qt4-dev python-dev perl aiksaurus-dev" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://www.lyx.org" +WGET_URL="ftp://ftp.lyx.org/pub/lyx/stable/1.6.x/$TARBALL" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --infodir=/usr/share/info \ + --mandir=/usr/share/man \ + --with-frontend=qt4 \ + $CONFIGURE_ARGS && + make -j 4 && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/usr/share/lyx $fs/usr/share + rm -r $fs/usr/share/lyx/doc $fs/usr/share/lyx/examples +} +