wok-next view opensp/receipt @ rev 20983

Small updates
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Sep 28 13:48:52 2018 +0300 (2018-09-28)
parents 0e7893ac206d
children d5aab818505e
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="remy.carel@free.fr"
8 LICENSE="MIT"
9 WEB_SITE="http://openjade.sourceforge.net/"
11 TARBALL="OpenSP-$VERSION.tar.gz"
12 WGET_URL="$SF_MIRROR/openjade/$TARBALL"
14 BUILD_DEPENDS="perl gfortran gettext docbook-sgml"
15 SPLIT="opensp-dev"
17 compile_rules() {
18 sed -i 's/32,/253,/' lib/Syntax.cxx
19 sed -i 's/LITLEN 240 /LITLEN 8092/' \
20 unicode/gensyntax.pl unicode/unicode.syn
22 ./configure \
23 --disable-static \
24 --disable-doc-build \
25 --enable-default-catalog=/etc/sgml/catalog \
26 --enable-http \
27 --enable-default-search-path=/usr/share/sgml \
28 $CONFIGURE_ARGS &&
29 fix libtool &&
30 make pkgdatadir=/usr/share/sgml/OpenSP-$VERSION &&
31 make pkgdatadir=/usr/share/sgml/OpenSP-$VERSION \
32 docdir=/usr/share/doc/OpenSP-$VERSION \
33 install || return 1
35 for i in nsgmls sgmlnorm spam spcat spent sx; do
36 ln -vsf o$i $install/usr/bin/$i
37 done
38 ln -vsf osx $install/usr/bin/sgml2xml
39 ln -vsf libosp.so $install/usr/lib/libsp.so
40 }
42 genpkg_rules() {
43 case $PACKAGE in
44 opensp) copy @std;;
45 *-dev) copy @dev;;
46 esac
47 }