From b07cecc9e78022261e8ae4b5f9dcef7a3702a2fe Mon Sep 17 00:00:00 2001 From: Theodore Kokkoris Date: Sun, 8 Dec 2013 13:05:03 +0000 Subject: [PATCH] Added libsanta recipe --- haiku-libs/libsanta/libsanta-0.0.1.recipe | 54 +++++++++++++++++++++++ haiku-libs/libsanta/licenses/libsanta | 12 +++++ 2 files changed, 66 insertions(+) create mode 100644 haiku-libs/libsanta/libsanta-0.0.1.recipe create mode 100644 haiku-libs/libsanta/licenses/libsanta diff --git a/haiku-libs/libsanta/libsanta-0.0.1.recipe b/haiku-libs/libsanta/libsanta-0.0.1.recipe new file mode 100644 index 000000000..c53b5ce53 --- /dev/null +++ b/haiku-libs/libsanta/libsanta-0.0.1.recipe @@ -0,0 +1,54 @@ +SUMMARY="Custom widget library" +DESCRIPTION="libsanta has some useful custom widgets." +HOMEPAGE="https://github.com/HaikuArchives/SantasGiftBag" +COPYRIGHT="briant@timelinevista.com" +LICENSE="libsanta" +SRC_URI="git+https://github.com/HaikuArchives/SantasGiftBag#59b17aa" +REVISION="1" +ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" +SECONDARY_ARCHITECTURES="x86_gcc2 ?x86" + +PROVIDES=" + libsanta$secondaryArchSuffix = $portVersion + lib:libsanta$secondaryArchSuffix = $portVersion + " + +REQUIRES=" + haiku$secondaryArchSuffix >= $haikuVersion + " + +BUILD_REQUIRES=" + haiku${secondaryArchSuffix}_devel >= $haikuVersion + " +BUILD_PREREQUIRES=" + makefile_engine + cmd:gcc$secondaryArchSuffix + cmd:ld$secondaryArchSuffix + cmd:make + " + +BUILD() +{ + make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` +} + +INSTALL() +{ + mkdir -p $developLibDir + + cd objects.x86-gcc2-release + cp libsanta.a $developLibDir + + packageEntries devel \ + $developLibDir +} + +# ----- devel package ------------------------------------------------------- + +PROVIDES_devel=" + libsanta${secondaryArchSuffix}_devel = $portVersion + libsanta$secondaryArchSuffix = $portVersion + " +REQUIRES_devel=" + libsanta$secondaryArchSuffix == $portVersion base + " diff --git a/haiku-libs/libsanta/licenses/libsanta b/haiku-libs/libsanta/licenses/libsanta new file mode 100644 index 000000000..a528e5e41 --- /dev/null +++ b/haiku-libs/libsanta/licenses/libsanta @@ -0,0 +1,12 @@ +License + +The source code, object code, libraries, and the other components of Santa's Gift Bag are being made publicly available and free to use in freeware and shareware products with a price under $25 (I believe that shareware should be cheap). For overpriced shareware (hehehe) or commercial products, please contact me to negotiate a fee for use. After all, I did work hard on these classes and invested a lot of time into it. That being said, DON'T WORRY I don't want much. It totally depends on the sort of project you're working on and how much you expect to make off it. If someone makes money using my work, I'd like to get at least a little something for my contribution to that profit. + +If any of the components of Santa's Gift Bag are is used in a shareware or commercial product, I get a free copy. The source is made available so that you can improve and extend it as you need. In general it is best to customize these classes through inheritance, leaving the original Santa's Gift Bag source code unmodified, so that you can take advantage of enhancements and bug fixes as they become available. + +Feel free to distribute any components of this archive, but you are required to keep the documentation and license with it. If you wish to distribute modified source, also feel free to do so, but do so in such a manner that it is very clear what was modified, why, how, that it is not an official Santa's Gift Bag release, and you are also required to keep the documentation and license with any modified versions. + +I can be contacted at: +briant@timelinevista.com + +Thank you for using Santa's Gift Bag, and enjoy! \ No newline at end of file