mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
82 lines
1.9 KiB
Bash
82 lines
1.9 KiB
Bash
SUMMARY="AbiWord import library"
|
|
DESCRIPTION="libabw is a library that parses the file format of AbiWord \
|
|
documents."
|
|
HOMEPAGE="http://wiki.documentfoundation.org/DLP/Libraries/libabw"
|
|
COPYRIGHT="Fridrich Strba, David Tardon"
|
|
LICENSE="MPL v2.0"
|
|
REVISION="3"
|
|
SOURCE_URI="http://dev-www.libreoffice.org/src/libabw/libabw-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="7a3d3415cf82ab9894f601d1b3057c4615060304d5279efdec6275e01b96a199"
|
|
|
|
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libabw$secondaryArchSuffix = $portVersion
|
|
cmd:abw2html$secondaryArchSuffix
|
|
cmd:abw2raw$secondaryArchSuffix
|
|
cmd:abw2text$secondaryArchSuffix
|
|
lib:libabw_0.1$secondaryArchSuffix = 1.0.1 compat >= 1
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:librevenge_0.0$secondaryArchSuffix
|
|
lib:librevenge_generators_0.0$secondaryArchSuffix
|
|
lib:librevenge_stream_0.0$secondaryArchSuffix
|
|
lib:libxml2$secondaryArchSuffix
|
|
lib:libz$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libabw${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libabw_0.1$secondaryArchSuffix = 1.0.1 compat >= 1
|
|
"
|
|
REQUIRES_devel="
|
|
libabw$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
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
|
|
devel:libxml2$secondaryArchSuffix
|
|
devel:libz$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:autoheader
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
cmd:gperf
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
libtoolize --force --copy --install
|
|
aclocal
|
|
autoheader
|
|
automake -a -c --foreign
|
|
autoconf
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libabw-0.1.la
|
|
|
|
prepareInstalledDevelLibs libabw-0.1
|
|
fixPkgconfig
|
|
|
|
packageEntries devel $developDir
|
|
}
|