From 391e2b7b9d9759959c86df05e66b73b39ad80da4 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Revol?= Date: Mon, 9 Dec 2013 17:37:09 +0100 Subject: [PATCH] Fix and rename NetSurf's buildsystem lowercase name works much better... FIXME: still need to fix paths (share/...). --- .../buildsystem/buildsystem-1.0_HEAD.recipe | 20 --------- .../buildsystem/buildsystem-1.0_git.recipe | 42 +++++++++++++++++++ 2 files changed, 42 insertions(+), 20 deletions(-) delete mode 100644 dev-util/buildsystem/buildsystem-1.0_HEAD.recipe create mode 100644 dev-util/buildsystem/buildsystem-1.0_git.recipe diff --git a/dev-util/buildsystem/buildsystem-1.0_HEAD.recipe b/dev-util/buildsystem/buildsystem-1.0_HEAD.recipe deleted file mode 100644 index 9ea205843..000000000 --- a/dev-util/buildsystem/buildsystem-1.0_HEAD.recipe +++ /dev/null @@ -1,20 +0,0 @@ -DESCRIPTION="NetSurf build framework for compiling some of their libraries" -HOMEPAGE="http://www.netsurf-browser.org/" -SRC_URI="git://git.netsurf-browser.org/buildsystem.git" -REVISION="1" -STATUS_HAIKU="stable" - -BUILD() -{ - cd buildsystem-1.0-HEAD - make -} - -INSTALL() -{ - cd buildsystem-1.0-HEAD - make install PREFIX=/boot/common/ -} - -LICENSE="MIT" -COPYRIGHT="2009 - 2013 The NetSurf Browser project" diff --git a/dev-util/buildsystem/buildsystem-1.0_git.recipe b/dev-util/buildsystem/buildsystem-1.0_git.recipe new file mode 100644 index 000000000..72fa5c2ed --- /dev/null +++ b/dev-util/buildsystem/buildsystem-1.0_git.recipe @@ -0,0 +1,42 @@ +SUMMARY="NetSurf build framework" +DESCRIPTION="NetSurf build framework for compiling some of their libraries" +HOMEPAGE="http://www.netsurf-browser.org/" +SRC_URI="git://git.netsurf-browser.org/buildsystem.git" +REVISION="1" +STATUS_HAIKU="stable" +LICENSE="MIT" +COPYRIGHT="2009 - 2013 The NetSurf Browser project" + +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 x86" + +PROVIDES=" + buildsystem$secondaryArchSuffix = $portVersion + " + +REQUIRES=" + haiku$secondaryArchSuffix + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel + " + +BUILD_PREREQUIRES=" + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:make + " + +SOURCE_DIR="$portVersionedName" + +BUILD() +{ + make +} + +INSTALL() +{ + make install PREFIX=$prefix +} +