wok-next diff texmacs/receipt @ rev 21017

Some maintenance
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 16 16:46:05 2018 +0300 (2018-10-16)
parents
children d5aab818505e
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/texmacs/receipt	Tue Oct 16 16:46:05 2018 +0300
     1.3 @@ -0,0 +1,36 @@
     1.4 +# SliTaz package receipt v2.
     1.5 +
     1.6 +PACKAGE="texmacs"
     1.7 +VERSION="1.0.7.18"
     1.8 +CATEGORY="office"
     1.9 +SHORT_DESC="The high quality of TeX with a WYSIWYG editor"
    1.10 +MAINTAINER="slitaz@leledy.fr"
    1.11 +LICENSE="GPL"
    1.12 +WEB_SITE="http://www.texmacs.org/"
    1.13 +
    1.14 +TARBALL="$PACKAGE-$VERSION-src.tar.gz"
    1.15 +WGET_URL="ftp://ftp.texmacs.org/pub/$PACKAGE/targz/$TARBALL"
    1.16 +
    1.17 +BUILD_DEPENDS="xorg-libX11-dev gmp-dev guile-dev freetype-dev imlib2-dev"
    1.18 +
    1.19 +compile_rules() {
    1.20 +	./configure \
    1.21 +		--with-imlib2 \
    1.22 +		--disable-qt \
    1.23 +		--prefix=/usr \
    1.24 +		--infodir=/usr/share/info \
    1.25 +		--mandir=/usr/share/man \
    1.26 +		--libexecdir=/usr/lib \
    1.27 +		$CONFIGURE_ARGS &&
    1.28 +	make &&
    1.29 +	make DESTDIR=$DESTDIR install
    1.30 +}
    1.31 +
    1.32 +genpkg_rules() {
    1.33 +	mkdir -p $fs/usr
    1.34 +	cp -a $install/usr/bin $fs/usr
    1.35 +	cp -a $install/usr/lib $fs/usr
    1.36 +	cp -a $install/usr/share $fs/usr
    1.37 +	# freetype and TeXmacs-windows-fonts avoid depending on TeX which is a *huge* system
    1.38 +	DEPENDS="ghostscript gmp guile freetype texmacs-windows-fonts"
    1.39 +}