mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
libwps: add recipe for version 0.3.0
This commit is contained in:
94
app-text/libwps/libwps-0.3.0.recipe
Normal file
94
app-text/libwps/libwps-0.3.0.recipe
Normal file
@@ -0,0 +1,94 @@
|
||||
SUMMARY="Microsoft Works import library"
|
||||
DESCRIPTION="
|
||||
libwps is a Microsoft Works file format import filter based on top of the \
|
||||
librevenge.
|
||||
"
|
||||
HOMEPAGE="http://sourceforge.net/projects/libwps/"
|
||||
SRC_URI="http://prdownloads.sourceforge.net/libwps/libwps-$portVersion.tar.bz2"
|
||||
LICENSE="
|
||||
MPL v2.0
|
||||
GNU LGPL v2.1
|
||||
"
|
||||
COPYRIGHT="
|
||||
Fridrich Strba <fridrich.strba@bluewin.ch>
|
||||
Laurent Alonso <laurent.alonso@inria.fr>
|
||||
Andrew Ziem <andrew.ziem@users.sourceforge.net>
|
||||
David Tardon <dtardon@redhat.com>
|
||||
"
|
||||
REVISION="1"
|
||||
CHECKSUM_SHA256="243d1dfc9bb53ac9d05405379a119e9b7d999714de3a3d56f4d3c505cedad43a"
|
||||
|
||||
ARCHITECTURES="x86 ?x86_64"
|
||||
if [ $effectiveTargetArchitecture != x86_gcc2 ]; then
|
||||
# x86_gcc2 is fine as primary target architecture as long as we're building
|
||||
# for a different secondary architecture.
|
||||
ARCHITECTURES="$ARCHITECTURES x86_gcc2"
|
||||
fi
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
libwps$secondaryArchSuffix = $portVersion
|
||||
cmd:wks2csv$secondaryArchSuffix
|
||||
cmd:wks2raw$secondaryArchSuffix
|
||||
cmd:wks2text$secondaryArchSuffix
|
||||
cmd:wps2html$secondaryArchSuffix
|
||||
cmd:wps2raw$secondaryArchSuffix
|
||||
cmd:wps2text$secondaryArchSuffix
|
||||
lib:libwps_0.3$secondaryArchSuffix = 3.0.0 compat >= 3
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix >= $haikuVersion
|
||||
lib:libboost_system$secondaryArchSuffix
|
||||
lib:librevenge_0.0$secondaryArchSuffix
|
||||
lib:librevenge_generators_0.0$secondaryArchSuffix
|
||||
lib:librevenge_stream_0.0$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_REQUIRES="
|
||||
devel:libboost_system$secondaryArchSuffix
|
||||
devel:librevenge_0.0$secondaryArchSuffix
|
||||
devel:librevenge_generators_0.0$secondaryArchSuffix
|
||||
devel:librevenge_stream_0.0$secondaryArchSuffix
|
||||
devel:libz$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel >= $haikuVersion
|
||||
cmd:aclocal
|
||||
cmd:libtoolize
|
||||
cmd:autoconf
|
||||
cmd:automake
|
||||
cmd:autoheader
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:ld$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoheader
|
||||
automake -a -c --foreign
|
||||
autoconf
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs libwps-0.3
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
PROVIDES_devel="
|
||||
libwps${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libwps_0.3$secondaryArchSuffix = 3.0.0 compat >= 3
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libwps$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
Reference in New Issue
Block a user