mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-13 15:20:07 +02:00
45 lines
868 B
Bash
45 lines
868 B
Bash
SUMMARY="Native File Dialog"
|
|
DESCRIPTION="A tiny, neat C library that portably invokes native file open and \
|
|
save dialogs."
|
|
HOMEPAGE="http://www.frogtoss.com"
|
|
COPYRIGHT="2014 Frogtoss Games"
|
|
LICENSE="Zlib-generic"
|
|
REVISION="3"
|
|
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
|
|
}
|