libwps: bump version.

This commit is contained in:
Kacper Kasper
2017-01-06 08:45:49 +01:00
parent 75ef84968a
commit d79f70c244

View File

@@ -10,7 +10,7 @@ LICENSE="MPL v2.0
GNU LGPL v2.1"
REVISION="1"
SOURCE_URI="http://prdownloads.sourceforge.net/libwps/libwps-$portVersion.tar.bz2"
CHECKSUM_SHA256="ceb6b1aac4646c641709a00a1bdceb296b30fe8b5e52446f104892e9cc338d4f"
CHECKSUM_SHA256="387c46d9543bb566381fddb8991e2838599fc500ee132fef9631a704c5cbed73"
ARCHITECTURES="!x86_gcc2 x86 x86_64"
SECONDARY_ARCHITECTURES="x86"
@@ -23,11 +23,10 @@ PROVIDES="
cmd:wps2html$secondaryArchSuffix
cmd:wps2raw$secondaryArchSuffix
cmd:wps2text$secondaryArchSuffix
lib:libwps_0.3$secondaryArchSuffix = 3.0.1 compat >= 3
lib:libwps_0.4$secondaryArchSuffix = 4.0.4 compat >= 4
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libboost_system$secondaryArchSuffix
lib:librevenge_0.0$secondaryArchSuffix
lib:librevenge_generators_0.0$secondaryArchSuffix
lib:librevenge_stream_0.0$secondaryArchSuffix
@@ -36,7 +35,7 @@ REQUIRES="
PROVIDES_devel="
libwps${secondaryArchSuffix}_devel = $portVersion
devel:libwps_0.3$secondaryArchSuffix = 3.0.1 compat >= 3
devel:libwps_0.4$secondaryArchSuffix = 4.0.4 compat >= 4
"
REQUIRES_devel="
libwps$secondaryArchSuffix == $portVersion base
@@ -44,7 +43,6 @@ REQUIRES_devel="
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libboost_system$secondaryArchSuffix
devel:librevenge_0.0$secondaryArchSuffix
devel:librevenge_generators_0.0$secondaryArchSuffix
devel:librevenge_stream_0.0$secondaryArchSuffix
@@ -52,7 +50,7 @@ BUILD_REQUIRES="
"
BUILD_PREREQUIRES="
cmd:aclocal
cmd:libtoolize
cmd:libtoolize$secondaryArchSuffix
cmd:autoconf
cmd:automake
cmd:autoheader
@@ -69,7 +67,7 @@ BUILD()
autoheader
automake -a -c --foreign
autoconf
runConfigure ./configure
runConfigure ./configure --with-sharedptr=c++11
make $jobArgs
}
@@ -78,9 +76,9 @@ INSTALL()
make install
# remove libtool file
rm $libDir/libwps-0.3.la
rm $libDir/libwps-0.4.la
prepareInstalledDevelLibs libwps-0.3
prepareInstalledDevelLibs libwps-0.4
fixPkgconfig
packageEntries devel $developDir