wok-next view opensp/receipt @ rev 21278

updated giac (1.4.9 -> 1.5.0.75)
author Hans-G?nter Theisgen
date Sat Dec 07 16:47:36 2019 +0100 (2019-12-07)
parents d5aab818505e
children
line source
1 # SliTaz package receipt v2.
3 PACKAGE="opensp"
4 VERSION="1.5.2"
5 CATEGORY="misc"
6 SHORT_DESC="An implementation of DSSSL, a style language to format SGML or XML documents"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="http://openjade.sourceforge.net/"
11 TARBALL="OpenSP-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/openjade/$TARBALL"
14 COOKOPTS="force-arch" # different .h
16 BUILD_DEPENDS="perl gfortran gettext-dev docbook-sgml"
17 SPLIT="$PACKAGE-dev"
19 compile_rules() {
20 sed -i 's/32,/253,/' lib/Syntax.cxx
21 sed -i 's/LITLEN 240 /LITLEN 8092/' \
22 unicode/gensyntax.pl unicode/unicode.syn
24 ./configure \
25 --disable-static \
26 --disable-doc-build \
27 --enable-default-catalog=/etc/sgml/catalog \
28 --enable-http \
29 --enable-default-search-path=/usr/share/sgml \
30 $CONFIGURE_ARGS &&
31 fix libtool &&
32 make pkgdatadir=/usr/share/sgml/OpenSP-$VERSION &&
33 make pkgdatadir=/usr/share/sgml/OpenSP-$VERSION \
34 docdir=/usr/share/doc/OpenSP-$VERSION \
35 install || return 1
37 for i in nsgmls sgmlnorm spam spcat spent sx; do
38 ln -vsf o$i $install/usr/bin/$i
39 done
40 ln -vsf osx $install/usr/bin/sgml2xml
41 ln -vsf libosp.so $install/usr/lib/libsp.so
42 }
44 genpkg_rules() {
45 case $PACKAGE in
46 opensp) copy @std;;
47 *-dev) copy @dev;;
48 esac
49 }