libstaroffice: bump version, enable x86_64.

This commit is contained in:
Jerome Duval
2017-03-24 22:12:28 +01:00
parent 9401fc6042
commit ccb9357d73

View File

@@ -1,24 +1,24 @@
SUMMARY="StarOffice import library"
DESCRIPTION="libabw is a library that parses the file format of StarOffice \
DESCRIPTION="Import filter(based on librevenge) to import all StarOffice \
documents."
HOMEPAGE="https://github.com/fosnola/libstaroffice"
COPYRIGHT="2015-2016 Laurent Alonso et al."
COPYRIGHT="2015-2017 Laurent Alonso et al."
LICENSE="MPL v2.0"
REVISION="1"
SOURCE_URI="http://github.com/fosnola/libstaroffice/releases/download/0.0.2/libstaroffice-$portVersion.tar.bz2"
CHECKSUM_SHA256="f06eb29d13357f1aa1944de0be1162de05d9f9333b5f54e9bf762415029a8899"
SOURCE_URI="http://github.com/fosnola/libstaroffice/releases/download/$portVersion/libstaroffice-$portVersion.tar.bz2"
CHECKSUM_SHA256="d32b9d6347b737caa63bb87cc3e48003b08cfee3e7f5c7960f3d9ce0ceced344"
ARCHITECTURES="!x86_gcc2 x86 ?x86_64"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="?x86"
PROVIDES="
libstaroffice$secondaryArchSuffix = $portVersion
cmd:sd2raw$secondaryArchSuffix = $portVersion compat >= 0
cmd:sd2svg$secondaryArchSuffix = $portVersion compat >= 0
cmd:sd2text$secondaryArchSuffix = $portVersion compat >= 0
cmd:sdc2csv$secondaryArchSuffix = $portVersion compat >= 0
cmd:sdw2html$secondaryArchSuffix = $portVersion compat >= 0
lib:libstaroffice_0.0$secondaryArchSuffix = 0.0.2 compat >= 0
cmd:sd2raw$secondaryArchSuffix = $portVersion
cmd:sd2svg$secondaryArchSuffix = $portVersion
cmd:sd2text$secondaryArchSuffix = $portVersion
cmd:sdc2csv$secondaryArchSuffix = $portVersion
cmd:sdw2html$secondaryArchSuffix = $portVersion
lib:libstaroffice_0.0$secondaryArchSuffix = $portVersion compat >= 0
"
REQUIRES="
haiku$secondaryArchSuffix
@@ -30,7 +30,7 @@ REQUIRES="
PROVIDES_devel="
libstaroffice${secondaryArchSuffix}_devel = $portVersion
devel:libstaroffice_0.0$secondaryArchSuffix = 0.0.2 compat >= 0
devel:libstaroffice_0.0$secondaryArchSuffix = $portVersion compat >= 0
"
REQUIRES_devel="
libstaroffice$secondaryArchSuffix == $portVersion base
@@ -39,29 +39,25 @@ REQUIRES_devel="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:librevenge_0.0$secondaryArchSuffix
devel:librevenge_generators_0.0$secondaryArchSuffix
devel:librevenge_stream_0.0$secondaryArchSuffix
#devel:librevenge_generators_0.0$secondaryArchSuffix
#devel:librevenge_stream_0.0$secondaryArchSuffix
devel:libz$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:libtoolize$secondaryArchSuffix
cmd:autoconf
cmd:automake
cmd:autoheader
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:libtoolize$secondaryArchSuffix
cmd:make
cmd:pkg_config$secondaryArchSuffix
"
BUILD()
{
libtoolize --force --copy --install
aclocal
autoheader
automake -a -c --foreign
autoconf
autoreconf -fi
runConfigure ./configure --with-sharedptr=c++11
make $jobArgs
}