From 3e4e3aadfbeaf9f91f1b9450ebd589dedde00349 Mon Sep 17 00:00:00 2001 From: Kacper Kasper Date: Tue, 22 Jul 2014 01:28:56 +0200 Subject: [PATCH] libabw: add recipe for version 0.1.0 --- app-text/libabw/libabw-0.1.0.recipe | 90 +++++++++++++++++++++++++++++ 1 file changed, 90 insertions(+) create mode 100644 app-text/libabw/libabw-0.1.0.recipe diff --git a/app-text/libabw/libabw-0.1.0.recipe b/app-text/libabw/libabw-0.1.0.recipe new file mode 100644 index 000000000..4e5b09990 --- /dev/null +++ b/app-text/libabw/libabw-0.1.0.recipe @@ -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 +David Tardon +" +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 + "