From 9525ce33e0bff88f57bcedb42789d10fb6a11c50 Mon Sep 17 00:00:00 2001 From: Schrijvers Luc Date: Sat, 22 Apr 2017 22:39:33 +0200 Subject: [PATCH] sablotron, updated old bep file to working recipe (#1289) --- app-text/sablotron/sablotron-1.0.3.recipe | 66 ++++++++++++++++++----- 1 file changed, 54 insertions(+), 12 deletions(-) diff --git a/app-text/sablotron/sablotron-1.0.3.recipe b/app-text/sablotron/sablotron-1.0.3.recipe index de6c5356f..1153f8c73 100644 --- a/app-text/sablotron/sablotron-1.0.3.recipe +++ b/app-text/sablotron/sablotron-1.0.3.recipe @@ -1,13 +1,52 @@ -DESCRIPTION="Sablotron XML processor" +SUMMARY="An XSLT Parser" +DESCRIPTION="Sablotron is an XML processor fully implemented in C++. It uses \ +Expat by James Clark as an XML parser. Sablotron implements XSLT 1.0, \ +XPath 1.0 and DOM Level2." HOMEPAGE="http://sourceforge.net/projects/sablotron" -SOURCE_URI="http://sourceforge.net/projects/sablotron/files/sablotron-1.0.3/Sablot-1.0.3.tar.gz/download" +COPYRIGHT="2000-2002 Ginger Alliance Ltd. All Rights Reserved." +LICENSE="MPL v1.1" REVISION="1" -STATUS_HAIKU="stable" -DEPEND="" -CHECKSUM_MD5="72654c4b832e7562f8240ea675577f5e" +SOURCE_URI="https://sf.net/projects/sablotron/files/sablotron-1.0.3/Sablot-1.0.3.tar.gz" +CHECKSUM_SHA256="a0c737ada78d0d305a2a964595167e0c6d17ff0afd3b801714768deb681bf362" +SOURCE_DIR="Sablot-1.0.3" +ARCHITECTURES="x86_gcc2 x86 x86_64" + +PROVIDES=" + sablotron = $portVersion + cmd:sabcmd + cmd:sablot_config + lib:libsablot = 0.100.3 compat >= 0 + " +REQUIRES=" + haiku + lib:libexpat + lib:libiconv + " + +PROVIDES_devel=" + sablotron_devel = $portVersion + devel:libsablot = 0.100.3 compat >= 0 + " +REQUIRES_devel=" + sablotron == $portVersion base + " + +BUILD_REQUIRES=" + haiku_devel + devel:libexpat + devel:libiconv + " +BUILD_PREREQUIRES=" + cmd:aclocal + cmd:autoconf + cmd:awk + cmd:gcc + cmd:libtoolize + cmd:make + " + BUILD() { - cd Sablot-1.0.3 touch NEWS touch AUTHORS touch COPYING @@ -16,15 +55,18 @@ BUILD() aclocal automake --add-missing -Wnone autoconf - ./configure --prefix=`finddir B_COMMON_DIRECTORY` - make + runConfigure ./configure + make $jobArgs } INSTALL() { - cd Sablot-1.0.3 make install -} -LICENSE="MPL v1.1" -COPYRIGHT="2000-2002 Ginger Alliance Ltd. All Rights Reserved." + rm $libDir/libsablot.la + + prepareInstalledDevelLib libsablot + + # devel package + packageEntries devel $developDir +}