# Description: An implementation of DSSSL -- Document Style Semantics and Specification Language.
# URL: http://openjade.sourceforge.net/
# Maintainer: unmaintained
# 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)

build() {
	cd $name-$version

	patch -p 1 -i $SRC/iostream.patch
	patch -p 1 -i $SRC/msggen.pl.patch

	./configure \
		--prefix=/usr \
		--disable-nls

	make
	make DESTDIR=$PKG install
}
