Files
haikuports/dev-libs/nfd/nfd-1.0.recipe
Jerome Duval fc0936b040 Bump revisions for x86_64 rebuild after time_t change.
* a few apps needed build fix for time_t.
* disable compatibility packages for x86_64.
2017-06-27 15:46:25 +02:00

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
}