Package-Name: libxslt
Gentoo-Package: dev-libs/libxslt
Rebuild-For: python
Homepage: http://xmlsoft.org/XSLT/
Source: ftp://xmlsoft.org/libxslt/libxslt-(\d+(.\d+)+).tar.gz $1
Zap-Before-Install: 1
Repack:
	tar xzvfp "$(SOURCE)"
Compile:
	cp -af AUTHORS COPYING Change* FEATURES NEWS README TODO "$(PREFIX)/"
	if [ "x$(DEBUG)" = x ]; then WITH_DEBUG="--without-debug"; else WITH_DEBUG="--without-debug"; fi; \
	$(MAKE) -f ../Makefile configure CONFIGURE_OPTS="--disable-shared --enable-static"
	$(MAKE)
	$(MAKE) install
	rm -rf "$(PREFIX)"/doc
	mv "$(PREFIX)"/share/doc "$(PREFIX)"/
Install:
	$(MAKE) instbin BIN="xslt-config xsltproc"
	$(MAKE) instinc INC="libexslt libxslt"
	$(MAKE) instlib LIB="exslt xslt"
	$(MAKE) instman SECTION=1 MAN=xsltproc
	$(MAKE) instman SECTION=3 MAN="libexslt libxslt"
	$(MAKE) instpc PC="libexslt libxslt"
	$(MAKE) instaclocal M4=libxslt

/pkg/libxslt/
/usr/bin/xslt-config
/usr/bin/xsltproc
/usr/include/libexslt
/usr/include/libxslt
/usr/lib/libexslt.*
/usr/lib/libxslt.*
/usr/lib/pkgconfig/libexslt.pc
/usr/lib/pkgconfig/libxslt.pc
/usr/man/man1/xsltproc.1.gz
/usr/man/man3/libexslt.3.gz
/usr/man/man3/libxslt.3.gz
/usr/share/aclocal/libxslt.m4
