|
|
src_compile() { | src_compile() { |
econf \ | econf \ |
--with-xslt-processor=libxslt \ | --with-xslt-processor=libxslt \ |
--program-suffix=.pl \ |
|
|| die "econf failed" | || die "econf failed" |
| |
emake || die "emake failed" | emake || die "emake failed" |
|
|
make "DESTDIR=${D}" install || die "install failed" | make "DESTDIR=${D}" install || die "install failed" |
| |
dodoc AUTHORS ChangeLog NEWS README THANKS TODO | dodoc AUTHORS ChangeLog NEWS README THANKS TODO |
|
|
|
# rename docbook2* programs and their manpages to *.pl to avoid conflict |
|
# with docbook-sgml-utils apps with the same name |
|
for i in ${D}/usr/bin/docbook2* ${D}/usr/share/man/*/docbook2* ; do |
|
mv $i $i.pl |
|
done |
|
|
|
# add aliases as used by Debian, for better cross-distribution portability |
|
ln -s docbook2man.pl ${D}/usr/bin/docbook2x-man |
|
ln -s docbook2texi.pl ${D}/usr/bin/docbook2x-texi |
} | } |
| |
pkg_postinst() { | pkg_postinst() { |