Files
haikuports/haiku-apps/beshare/beshare-2.35.recipe
2018-10-01 08:10:13 +02:00

70 lines
2.1 KiB
Bash

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="3"
srcGitRev="58031882f15a724e8c946ed80bc0d10541b8f645"
SOURCE_URI="https://github.com/HaikuArchives/BeShare/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="7cc736acbdc6d6f9a0298323fc58d043ff0cf44a272912d332839060f905b040"
SOURCE_FILENAME="beshare-$srcGitRev.tar.gz"
SOURCE_DIR="BeShare-$srcGitRev"
SOURCE_URI_2="https://public.msli.com/lcs/muscle/muscle6.11.zip"
CHECKSUM_SHA256_2="7cf3c92095f46e5a0858852e7d387d11fdf8e1e95a4de26b5e68e8319a373340"
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
}