wok-next view opensp/receipt @ rev 19979
Up libdrm (2.4.82), wayland (1.14.0)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Wed Oct 18 03:31:51 2017 +0300 (2017-10-18) |
parents | 23c3aed67cd9 |
children | 0e7893ac206d |
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 # Rules to configure and make the package.
18 compile_rules()
19 {
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 &&
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 &&
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 # Rules to gen a SliTaz package suitable for Tazpkg.
45 genpkg_rules()
46 {
47 case $PACKAGE in
48 opensp) copy @std;;
49 *-dev) copy @dev;;
50 esac
51 }