wok-undigest diff latex/receipt @ rev 497

Add latex
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Oct 15 11:31:52 2011 +0200 (2011-10-15)
parents
children 3d838b201a8a
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/latex/receipt	Sat Oct 15 11:31:52 2011 +0200
     1.3 @@ -0,0 +1,32 @@
     1.4 +# SliTaz package receipt.
     1.5 +
     1.6 +PACKAGE="latex"
     1.7 +SOURCE="texlive"
     1.8 +VERSION="20110705"
     1.9 +CATEGORY="office"
    1.10 +SHORT_DESC="LaTeX is a high-quality typesetting system."
    1.11 +MAINTAINER="pascal.bellard@slitaz.org"
    1.12 +TARBALL="$SOURCE-$VERSION-source.tar.xz"
    1.13 +WEB_SITE="http://www.latex-project.org/"
    1.14 +WGET_URL="ftp://tug.org/historic/systems/texlive/${VERSION:0:4}/$TARBALL"
    1.15 +
    1.16 +DEPENDS="fontconfig xorg gcc-lib-base ncurses"
    1.17 +BUILD_DEPENDS="clisp libffcall fontconfig-dev xorg-dev ncurses-dev"
    1.18 +
    1.19 +# Rules to configure and make the package.
    1.20 +compile_rules()
    1.21 +{
    1.22 +	mv $SOURCE-$VERSION-source $src 2> /dev/null
    1.23 +	cd $src
    1.24 +	./configure --prefix=/usr --mandir=/usr/share/man \
    1.25 +		--localstatedir=/var \
    1.26 +	$CONFIGURE_ARGS &&
    1.27 +	make &&
    1.28 +	make DESTDIR=$DESTDIR install
    1.29 +}
    1.30 +
    1.31 +# Rules to gen a SliTaz package suitable for Tazpkg.   
    1.32 +genpkg_rules()                                      
    1.33 +{
    1.34 +	cp -a $_pkg/usr $fs
    1.35 +}