xmlroff: enable x86_64.

* remove libtool file.
* move pkgconfig file to devel package.
* fix provide compat.
This commit is contained in:
Jerome Duval
2017-02-25 15:15:18 +01:00
parent 92e7d9860c
commit d503781b62

View File

@@ -7,18 +7,18 @@ COPYRIGHT="2001-2002 Sun Microsystems
2007-2010 Meneith Consulting
2011-2012 Mentea"
LICENSE="BSD (3-clause)"
REVISION="2"
REVISION="3"
SOURCE_URI="https://github.com/xmlroff/xmlroff/archive/v$portVersion.tar.gz"
CHECKSUM_SHA256="9c4777c27418eeb013b50246a4852f49893829ee6463b9686f4e7f26bbb19fe9"
PATCHES="xmlroff-$portVersion.patchset"
ARCHITECTURES="?x86"
ARCHITECTURES="?x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
xmlroff$secondaryArchSuffix = $portVersion
cmd:xmlroff$secondaryArchSuffix
lib:libfo_0.6$secondaryArchSuffix = 0.602.0 compat = 0
lib:libfo_0.6$secondaryArchSuffix = 0.602.0 compat >= 0
"
REQUIRES="
haiku$secondaryArchSuffix
@@ -45,7 +45,7 @@ REQUIRES="
PROVIDES_devel="
xmlroff${secondaryArchSuffix}_devel = $portVersion
devel:libfo_0.6$secondaryArchSuffix = 0.602.0 compat = 0
devel:libfo_0.6$secondaryArchSuffix = 0.602.0 compat >= 0
"
REQUIRES_devel="
xmlroff$secondaryArchSuffix == $portVersion base
@@ -86,6 +86,10 @@ INSTALL()
make install
popd
prepareInstalledDevelLibs libfo-0.6
rm $libDir/libfo*.la
prepareInstalledDevelLib libfo-0.6
fixPkgconfig
packageEntries devel $developDir
}