mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
libabw: add recipe for version 0.1.0
This commit is contained in:
90
app-text/libabw/libabw-0.1.0.recipe
Normal file
90
app-text/libabw/libabw-0.1.0.recipe
Normal file
@@ -0,0 +1,90 @@
|
||||
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"
|
||||
SRC_URI="http://dev-www.libreoffice.org/src/libabw/libabw-$portVersion.tar.bz2"
|
||||
LICENSE="
|
||||
MPL v2.0
|
||||
"
|
||||
COPYRIGHT="
|
||||
Fridrich Strba <fridrich.strba@bluewin.ch>
|
||||
David Tardon <dtardon@redhat.com>
|
||||
"
|
||||
REVISION="1"
|
||||
CHECKSUM_SHA256="49380c24e04e8d2a4824adc9b1b8f5026ad759bc335497e05f0983412821f8d9"
|
||||
|
||||
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="
|
||||
libabw$secondaryArchSuffix = $portVersion
|
||||
cmd:abw2html$secondaryArchSuffix
|
||||
cmd:abw2raw$secondaryArchSuffix
|
||||
cmd:abw2text$secondaryArchSuffix
|
||||
lib:libabw_0.1$secondaryArchSuffix = 1.0.0 compat >= 1
|
||||
"
|
||||
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:libxml2$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:libxml2$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
|
||||
cmd:gperf
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
libtoolize --force --copy --install
|
||||
aclocal
|
||||
autoheader
|
||||
automake -a -c --foreign
|
||||
autoconf
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
prepareInstalledDevelLibs libabw-0.1
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel $developDir
|
||||
}
|
||||
|
||||
PROVIDES_devel="
|
||||
libabw${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:libabw_0.1$secondaryArchSuffix = 1.0.0 compat >= 1
|
||||
"
|
||||
REQUIRES_devel="
|
||||
libabw$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
Reference in New Issue
Block a user