wok-next view opensp/receipt @ rev 21072

Update Xorg packages
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Dec 20 17:55:43 2018 +0200 (2018-12-20)
parents 0c55dd149a56
children e19ff076dc63
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 BUILD_DEPENDS="perl gfortran gettext-dev docbook-sgml"
15 SPLIT="$PACKAGE-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 }