# SliTaz package receipt. PACKAGE="TeXmacs" VERSION="1.0.7.8" CATEGORY="office" SHORT_DESC="The high quality of TeX with a wisiwyg editor" MAINTAINER="slitaz@leledy.fr" DEPENDS="ghostscript gmp guile freetype TeXmacs-windows-fonts" # freetype and TeXmacs-windows-fonts avoid depending on TeX which is a *huge* system BUILD_DEPENDS="xorg-libX11-dev gmp-dev guile-dev freetype-dev imlib2-dev" TARBALL="$PACKAGE-$VERSION-src.tar.gz" WEB_SITE="http://www.texmacs.org/" WGET_URL="ftp://ftp.texmacs.org/pub/$PACKAGE/targz/$TARBALL" # Rules to configure and make the package. compile_rules() { mv $src-src $src 2> /dev/null cd $src ./configure \ --with-imlib2 \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ --libexecdir=/usr/lib \ $CONFIGURE_ARGS && make && make DESTDIR=$PWD/_pkg install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/lib $fs/usr cp -a $_pkg/usr/share $fs/usr }