mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-03 05:28:53 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
68 lines
1.6 KiB
Bash
68 lines
1.6 KiB
Bash
SUMMARY="Browse and access SMB network shares"
|
|
DESCRIPTION="FuseSMB provides access to shared files and folders using the \
|
|
Server Message Block (SMB) protocol. One version of the protocol is also \
|
|
known as Common Internet File System (CIFS).\
|
|
|
|
FuseSMB features automatic discovery of servers and shares and displays \
|
|
them as a folder hierarchy in a virtual volume right on your desktop. \
|
|
It also includes a network preferences add-on, where you can enable and \
|
|
configure it."
|
|
|
|
HOMEPAGE="https://github.com/orangejua/fusesmb-haiku"
|
|
COPYRIGHT="2003-2006 Vincent Wagelaar
|
|
2017 Julian Harnath"
|
|
LICENSE="GNU GPL v2
|
|
MIT"
|
|
REVISION="3"
|
|
SOURCE_URI="https://github.com/orangejua/fusesmb-haiku/archive/Version-0.9.tar.gz"
|
|
CHECKSUM_SHA256="f04f815ca2d3a1100323569e8cd90f911c74d9d4169833dad681351f073abaec"
|
|
SOURCE_DIR="fusesmb-haiku-Version-$portVersion"
|
|
PATCHES="fusesmb_haiku-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all"
|
|
|
|
PROVIDES="
|
|
fusesmb_haiku = $portVersion
|
|
add_on:fusesmb = $portVersion
|
|
add_on:SMBClient = $portVersion
|
|
cmd:"fusesmb_scan"
|
|
cmd:"fusesmb_control.sh"
|
|
"
|
|
REQUIRES="
|
|
haiku
|
|
samba
|
|
userland_fs
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku
|
|
haiku_devel
|
|
samba_devel
|
|
userland_fs
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:gcc
|
|
cmd:jam
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
if [ "$effectiveTargetArchitecture" == "x86_gcc2" ]
|
|
then
|
|
jam -sGCC2H=1 $jobArgs
|
|
else
|
|
jam $jobArgs
|
|
fi
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $prefix/add-ons/userlandfs
|
|
mkdir -p $prefix/add-ons/Network\ Settings
|
|
mkdir -p $prefix/bin
|
|
cp fusesmb/fusesmb $prefix/add-ons/userlandfs
|
|
cp fusesmb/fusesmb-scan $prefix/bin
|
|
cp settings_add-on/SMBClient $prefix/add-ons/Network\ Settings
|
|
cp settings_add-on/fusesmb-control.sh $prefix/bin
|
|
}
|