1SUMMARY="Short description of ProjectX" 2DESCRIPTION="Long ProjectX description. 3Spanning several paragraphs, maybe 4 - containing 5 - bullet points etc. 6You can also have really long lines that do not fit in 80 characters and use \ 7a forward-slash to wrap the line." 8HOMEPAGE="https://homepage/of/projectx.org" 9COPYRIGHT="2014 Developer name 10 2016 Another developer's name" 11LICENSE="MIT 12 GNU GPL v2" 13REVISION="1" 14SOURCE_URI="https://github.com/HaikuArchives/ProjectX/archive/projectx-$portVersion.tar.gz" 15CHECKSUM_SHA256="000000000000000000000000000000000" 16SOURCE_DIR="$portVersionedName" 17PATCHES="projectx-$portVersion.patchset" 18ADDITIONAL_FILES="projectx.rdef" 19 20ARCHITECTURES="x86_gcc2 ?x86 ?x86_64" 21SECONDARY_ARCHITECTURES="x86" 22 23PROVIDES=" 24 projectx$secondaryArchSuffix = $portVersion 25 lib:libprojectx$secondaryArchSuffix = $portVersion 26 " 27REQUIRES=" 28 haiku$secondaryArchSuffix 29 " 30 31PROVIDES_devel=" 32 projectx${secondaryArchSuffix}_devel = $portVersion 33 devel:libprojectx$secondaryArchSuffix = $portVersion 34 " 35REQUIRES_devel=" 36 projectx$secondaryArchSuffix == $portVersion base 37 " 38 39BUILD_REQUIRES=" 40 haiku${secondaryArchSuffix}_devel 41 " 42BUILD_PREREQUIRES=" 43 makefile_engine 44 cmd:make 45 cmd:gcc$secondaryArchSuffix 46 " 47 48BUILD() 49{ 50 make $jobArgs OBJ_DIR=objects 51} 52 53INSTALL() 54{ 55 mkdir -p $libDir 56 mkdir -p $includeDir 57 58 cp -a objects/libprojectx.so $libDir 59 cp -R include/. $includeDir 60 61 prepareInstalledDevelLibs \ 62 libprojectx 63 packageEntries devel \ 64 $developDir 65} 66 67TEST() 68{ 69 make check 70} 71