mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-23 04:00:05 +02:00
Add recipe for Native File Dialog
This commit is contained in:
16
dev-libs/nfd/licenses/Zlib-generic
Normal file
16
dev-libs/nfd/licenses/Zlib-generic
Normal file
@@ -0,0 +1,16 @@
|
||||
This software is provided 'as-is', without any express or implied
|
||||
warranty. In no event will the authors be held liable for any damages
|
||||
arising from the use of this software.
|
||||
|
||||
Permission is granted to anyone to use this software for any purpose,
|
||||
including commercial applications, and to alter it and redistribute it
|
||||
freely, subject to the following restrictions:
|
||||
|
||||
1. The origin of this software must not be misrepresented; you must not
|
||||
claim that you wrote the original software. If you use this software
|
||||
in a product, an acknowledgment in the product documentation would be
|
||||
appreciated but is not required.
|
||||
2. Altered source versions must be plainly marked as such, and must not be
|
||||
misrepresented as being the original software.
|
||||
3. This notice may not be removed or altered from any source distribution.
|
||||
|
||||
44
dev-libs/nfd/nfd-1.0.recipe
Normal file
44
dev-libs/nfd/nfd-1.0.recipe
Normal file
@@ -0,0 +1,44 @@
|
||||
SUMMARY="Native File Dialog"
|
||||
DESCRIPTION="A tiny, neat C library that portably invokes native file open and \
|
||||
save dialogs."
|
||||
HOMEPAGE="www.frogtoss.com"
|
||||
COPYRIGHT="2014 Frogtoss Games"
|
||||
LICENSE="Zlib-generic"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/puckipedia/nativefiledialog/archive/39ecf6a1.zip"
|
||||
CHECKSUM_SHA256="6c4eff1c0d5f2d3165192710cb1c844ec9e63d4fe7c4e2238cf5c6ddcb0da648"
|
||||
SOURCE_DIR="nativefiledialog-39ecf6a1d8c8cfa3a6f1c6795765911245809833"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 ?x86 ?x86_64"
|
||||
|
||||
PROVIDES="
|
||||
nfd = $portVersion
|
||||
devel:libnfd = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:gcc
|
||||
cmd:scons
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd src/
|
||||
scons debug=0
|
||||
}
|
||||
|
||||
INSTALL(){
|
||||
cd src/
|
||||
mkdir -p $libDir
|
||||
cp libnfd.a $libDir/libnfd.a
|
||||
cd include/
|
||||
mkdir -p $includeDir
|
||||
cp ./nfd.h $includeDir/nfd.h
|
||||
prepareInstalledDevelLib libnfd
|
||||
}
|
||||
Reference in New Issue
Block a user