wok-next annotate opensp/receipt @ rev 20494

make-slitaz-icons: in multiple choice for 16px request: if 16px and scalable icons both are available, try to choose 16px one, but not the first caught.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Mar 13 23:17:56 2018 +0200 (2018-03-13)
parents b938e6730252
children 0c55dd149a56
rev   line source
al@19790 1 # SliTaz package receipt v2.
erjo@8463 2
erjo@8463 3 PACKAGE="opensp"
erjo@8463 4 VERSION="1.5.2"
erjo@8463 5 CATEGORY="misc"
erjo@8463 6 SHORT_DESC="An implementation of DSSSL, a style language to format SGML or XML documents"
erjo@8463 7 MAINTAINER="remy.carel@free.fr"
pascal@15601 8 LICENSE="MIT"
al@19790 9 WEB_SITE="http://openjade.sourceforge.net/"
erjo@8463 10
al@19790 11 TARBALL="OpenSP-$VERSION.tar.gz"
al@19790 12 WGET_URL="$SF_MIRROR/openjade/$TARBALL"
al@19790 13
al@19790 14 BUILD_DEPENDS="perl gfortran gettext docbook-sgml"
al@19790 15 SPLIT="opensp-dev"
pascal@15601 16
al@20443 17 compile_rules() {
al@20443 18 sed -i 's/32,/253,/' lib/Syntax.cxx
al@19790 19 sed -i 's/LITLEN 240 /LITLEN 8092/' \
al@20443 20 unicode/gensyntax.pl unicode/unicode.syn
al@19790 21
al@19790 22 ./configure \
al@19790 23 --disable-static \
al@19790 24 --disable-doc-build \
al@19790 25 --enable-default-catalog=/etc/sgml/catalog \
al@19790 26 --enable-http \
al@19790 27 --enable-default-search-path=/usr/share/sgml \
gokhlayeh@11573 28 $CONFIGURE_ARGS &&
al@19790 29
al@19790 30 make pkgdatadir=/usr/share/sgml/OpenSP-$VERSION &&
al@19790 31 make pkgdatadir=/usr/share/sgml/OpenSP-$VERSION \
al@19790 32 docdir=/usr/share/doc/OpenSP-$VERSION \
al@20443 33 install || return 1
al@19790 34
al@19790 35 for i in nsgmls sgmlnorm spam spcat spent sx; do
al@19790 36 ln -vsf o$i $install/usr/bin/$i
al@20443 37 done
al@20443 38 ln -vsf osx $install/usr/bin/sgml2xml
al@19790 39 ln -vsf libosp.so $install/usr/lib/libsp.so
erjo@8463 40 }
erjo@8463 41
al@20443 42 genpkg_rules() {
al@19790 43 case $PACKAGE in
al@19790 44 opensp) copy @std;;
al@19790 45 *-dev) copy @dev;;
al@19790 46 esac
erjo@8463 47 }