SUMMARY="A native file sharing and chat application" DESCRIPTION="BeShare is a BeOS/Haiku-native file sharing program. \ It operates similarly to other such programs (Napster, Hotline, etc) \ but with a few advantages: - BeShare allows you to upload or download any type of file, not just mp3. - When browsing files, you can see their attributes (similar Tracker's \ view) - Your query is always \"live\", so if new files that match your query become \ available, you will see them added to the results list right away (you won't \ have to click \"refresh\" or anything first) - BeShare includes a rudimentary chat mechanism for you social types. - BeShare supports any number of simultaneous uploads and downloads \ in parallel, but will serialize simultaneous file requests to any \ given host for efficiency." HOMEPAGE="https://github.com/HaikuArchives/BeShare" COPYRIGHT="1999-2012 Jeremy Friesner" LICENSE="Public Domain libsanta" REVISION="2" SOURCE_URI="https://github.com/HaikuArchives/BeShare/archive/v$portVersion.tar.gz" CHECKSUM_SHA256="b936e4de10a555204521747f48de8fadf22530fa5186bdc06eecaa26bf97ae6f" SOURCE_FILENAME="beshare-$portVersion.tar.gz" SOURCE_DIR="BeShare-$portVersion" SOURCE_URI_2="https://public.msli.com/lcs/muscle/muscle6.11.zip" CHECKSUM_SHA256_2="7cf3c92095f46e5a0858852e7d387d11fdf8e1e95a4de26b5e68e8319a373340" PATCHES="beshare-2.35.patchset" PATCHES_2="muscle-6.11.patchset" ARCHITECTURES="!x86_gcc2 x86 x86_64" SECONDARY_ARCHITECTURES="x86" PROVIDES=" beshare$secondaryArchSuffix = $portVersion app:BeShare = $portVersion " REQUIRES=" haiku$secondaryArchSuffix lib:libsanta$secondaryArchSuffix lib:libz$secondaryArchSuffix " BUILD_REQUIRES=" haiku${secondaryArchSuffix}_devel devel:libsanta$secondaryArchSuffix devel:libz$secondaryArchSuffix # devel:muscle$secondaryArchSuffix " BUILD_PREREQUIRES=" makefile_engine cmd:gcc$secondaryArchSuffix cmd:ld$secondaryArchSuffix cmd:make " BUILD() { ln -sf ../../sources-2/muscle muscle cd source make $jobArgs #LOCAL_INCLUDE_PATHS=$includeDir/muscle } INSTALL() { mkdir -p $appsDir/BeShare cp -r app/* $appsDir/BeShare addAppDeskbarSymlink $appsDir/BeShare/BeShare }