openjade
This commit is contained in:
parent
8dc7063ca9
commit
57055d68fe
|
@ -1,2 +1,2 @@
|
|||
install-catalog --add /etc/sgml/openjade-1.3.2.cat /usr/share/sgml/openjade-1.3.2/catalog
|
||||
install-catalog --add /etc/sgml/sgml-docbook.cat /etc/sgml/openjade-1.3.2.cat
|
||||
install-catalog --add /etc/sgml/openjade-1.3.3.cat /usr/share/sgml/openjade-1.3.3/catalog
|
||||
install-catalog --add /etc/sgml/sgml-docbook.cat /etc/sgml/openjade-1.3.3.cat
|
||||
|
|
|
@ -3,12 +3,12 @@
|
|||
# Packager: milisarge
|
||||
# Depends on: opensp
|
||||
|
||||
|
||||
name=openjade
|
||||
version=1.3.3-pre1
|
||||
release=2
|
||||
source=(http://downloads.sourceforge.net/project/$name/$name/1.3.3/$name-$version.tar.gz
|
||||
iostream.patch
|
||||
msggen.pl.patch)
|
||||
iostream.patch msggen.pl.patch)
|
||||
|
||||
build() {
|
||||
cd $name-$version
|
||||
|
@ -19,6 +19,8 @@ build() {
|
|||
./configure \
|
||||
--prefix=/usr
|
||||
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
}
|
||||
|
||||
|
|
|
@ -0,0 +1 @@
|
|||
ln -s /usr/lib/libosp.la /usr/lib64/libosp.la
|
|
@ -6,16 +6,32 @@
|
|||
name=opensp
|
||||
version=1.5.2
|
||||
release=1
|
||||
source=(http://downloads.sourceforge.net/project/openjade/$name/$version/OpenSP-$version.tar.gz)
|
||||
|
||||
build() {
|
||||
cd OpenSP-$version
|
||||
source=(http://downloads.sourceforge.net/openjade/OpenSP-$version.tar.gz)
|
||||
|
||||
./configure \
|
||||
--prefix=/usr \
|
||||
--disable-doc-build
|
||||
build(){
|
||||
cd OpenSP-$version
|
||||
sed -i 's/32,/253,/' lib/Syntax.cxx &&
|
||||
sed -i 's/LITLEN 240 /LITLEN 8092/' \
|
||||
unicode/{gensyntax.pl,unicode.syn} &&
|
||||
|
||||
make
|
||||
make DESTDIR=$PKG install
|
||||
rm -r $PKG/usr/share/doc
|
||||
./configure --prefix=/usr \
|
||||
--disable-static \
|
||||
--disable-doc-build \
|
||||
--enable-default-catalog=/etc/sgml/catalog \
|
||||
--enable-http \
|
||||
--enable-default-search-path=/usr/share/sgml
|
||||
make DESTDIR=$PKG install
|
||||
|
||||
# create the SP equivalents of OpenSP executables and libraries
|
||||
cd $PKG/usr/bin
|
||||
ln -v -sf onsgmls nsgmls
|
||||
ln -v -sf osgmlnorm sgmlnorm
|
||||
ln -v -sf ospam spam
|
||||
ln -v -sf ospcat spcat
|
||||
ln -v -sf ospent spent
|
||||
ln -v -sf osx sx
|
||||
ln -v -sf osx sgml2xml
|
||||
cd $PKG/usr/lib
|
||||
ln -v -sf libosp.so libsp.so
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue