wok-next annotate opensp/receipt @ rev 21225
try to build cdrtools again
author | Hans-G?nter Theisgen |
---|---|
date | Tue Dec 03 15:45:46 2019 +0100 (2019-12-03) |
parents | d5aab818505e |
children |
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" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
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@21094 | 14 COOKOPTS="force-arch" # different .h |
al@21094 | 15 |
al@21020 | 16 BUILD_DEPENDS="perl gfortran gettext-dev docbook-sgml" |
al@21020 | 17 SPLIT="$PACKAGE-dev" |
pascal@15601 | 18 |
al@20443 | 19 compile_rules() { |
al@20443 | 20 sed -i 's/32,/253,/' lib/Syntax.cxx |
al@19790 | 21 sed -i 's/LITLEN 240 /LITLEN 8092/' \ |
al@20443 | 22 unicode/gensyntax.pl unicode/unicode.syn |
al@19790 | 23 |
al@19790 | 24 ./configure \ |
al@19790 | 25 --disable-static \ |
al@19790 | 26 --disable-doc-build \ |
al@19790 | 27 --enable-default-catalog=/etc/sgml/catalog \ |
al@19790 | 28 --enable-http \ |
al@19790 | 29 --enable-default-search-path=/usr/share/sgml \ |
gokhlayeh@11573 | 30 $CONFIGURE_ARGS && |
al@20602 | 31 fix libtool && |
al@19790 | 32 make pkgdatadir=/usr/share/sgml/OpenSP-$VERSION && |
al@19790 | 33 make pkgdatadir=/usr/share/sgml/OpenSP-$VERSION \ |
al@19790 | 34 docdir=/usr/share/doc/OpenSP-$VERSION \ |
al@20443 | 35 install || return 1 |
al@19790 | 36 |
al@19790 | 37 for i in nsgmls sgmlnorm spam spcat spent sx; do |
al@19790 | 38 ln -vsf o$i $install/usr/bin/$i |
al@20443 | 39 done |
al@20443 | 40 ln -vsf osx $install/usr/bin/sgml2xml |
al@19790 | 41 ln -vsf libosp.so $install/usr/lib/libsp.so |
erjo@8463 | 42 } |
erjo@8463 | 43 |
al@20443 | 44 genpkg_rules() { |
al@19790 | 45 case $PACKAGE in |
al@19790 | 46 opensp) copy @std;; |
al@19790 | 47 *-dev) copy @dev;; |
al@19790 | 48 esac |
erjo@8463 | 49 } |