openjade: fix cross-build.
This commit is contained in:
parent
572f680b83
commit
30b4109a23
1 changed files with 6 additions and 5 deletions
|
@ -5,8 +5,10 @@ build_style=gnu-configure
|
|||
configure_args="
|
||||
--datadir=/usr/share/sgml/openjade
|
||||
--enable-default-catalog=/usr/share/sgml/catalog
|
||||
--enable-splibdir=/usr/lib"
|
||||
revision=4
|
||||
--enable-splibdir=/usr/lib
|
||||
--enable-spincludedir=${XBPS_CROSS_BASE}/usr/include/OpenSP
|
||||
--enable-splibdir=${XBPS_CROSS_BASE}/usr/lib"
|
||||
revision=5
|
||||
hostmakedepends="perl"
|
||||
makedepends="opensp-devel"
|
||||
depends="xmlcatmgr"
|
||||
|
@ -19,17 +21,16 @@ distfiles="${SOURCEFORGE_SITE}/${pkgname}/${pkgname}-$version.tar.gz"
|
|||
checksum=1d2d7996cc94f9b87d0c51cf0e028070ac177c4123ecbfd7ac1cb8d0b7d322d1
|
||||
|
||||
post_install() {
|
||||
vlicense jadedoc/copying.txt
|
||||
|
||||
cd ${DESTDIR}/usr/bin
|
||||
ln -s openjade jade
|
||||
|
||||
install -d ${DESTDIR}/usr/share/licenses/${pkgname}
|
||||
install -d ${DESTDIR}/usr/share/sgml/openjade/{jade,}doc
|
||||
|
||||
cp -a ${wrksrc}/dsssl/* ${DESTDIR}/usr/share/sgml/${pkgname}
|
||||
cp -a ${wrksrc}/pubtext ${DESTDIR}/usr/share/sgml/${pkgname}
|
||||
cp -a ${wrksrc}/doc/*.htm ${DESTDIR}/usr/share/sgml/${pkgname}/doc
|
||||
cp -a ${wrksrc}/jadedoc/copying.txt \
|
||||
${DESTDIR}/usr/share/licenses/${pkgname}
|
||||
cp -a ${wrksrc}/jadedoc/images ${DESTDIR}/usr/share/sgml/${pkgname}/jadedoc
|
||||
|
||||
rm -f ${DESTDIR}/usr/lib/*.a
|
||||
|
|
Loading…
Reference in a new issue