46 lines
854 B
Bash
46 lines
854 B
Bash
SUMMARY="Native File Dialog"
|
|
DESCRIPTION="A tiny, neat C library that portably invokes native file open and \
|
|
save dialogs."
|
|
HOMEPAGE="https://www.frogtoss.com"
|
|
COPYRIGHT="2014 Frogtoss Games"
|
|
LICENSE="Zlib-generic"
|
|
REVISION="4"
|
|
SOURCE_URI="https://github.com/puckipedia/nativefiledialog/archive/39ecf6a1.zip"
|
|
CHECKSUM_SHA256="6c4eff1c0d5f2d3165192710cb1c844ec9e63d4fe7c4e2238cf5c6ddcb0da648"
|
|
SOURCE_DIR="nativefiledialog-39ecf6a1d8c8cfa3a6f1c6795765911245809833"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
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
|
|
}
|