Files
haikuports/net-misc/dukto/dukto-6.0.0.recipe
waddlesplash 4f180bdb94 Utilize the new "all" ARCHITECTURES keyword in most recipes. (#6189)
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.
2021-09-15 15:40:18 -04:00

68 lines
1.9 KiB
Bash
Raw Blame History

This file contains ambiguous Unicode characters
This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.
SUMMARY="Easy and multi-platform file transfer tool"
DESCRIPTION="Dukto is an easy file transfer tool designed for LAN use. \
Transfer files from one PC (or other device) to another, without worrying \
about users, permissions, operating systems, protocols, clients, servers and \
so on… Just start Dukto on the two PCs and transfer files and folders by \
dragging onto its window. Thats all."
HOMEPAGE="https://www.msec.it/blog/dukto/"
COPYRIGHT="2011 Emanuele Colombo"
LICENSE="GNU GPL v2"
REVISION="1"
SOURCE_URI="https://codeload.github.com/ttys3/dukto/zip/00301800b3a645b80361a59de911839bf49ee32e"
CHECKSUM_SHA256="599e808fb9206f24386afb32ee96766797d4354b5f34838d8b4dae65f446fe5a"
SOURCE_DIR="dukto-00301800b3a645b80361a59de911839bf49ee32e"
PATCHES="dukto-$portVersion.patchset"
ARCHITECTURES="all !x86_gcc2"
SECONDARY_ARCHITECTURES="x86"
PROVIDES="
dukto$secondaryArchSuffix = $portVersion
app:Dukto
"
REQUIRES="
haiku$secondaryArchSuffix
lib:libGL$secondaryArchSuffix
lib:libQt5Core$secondaryArchSuffix
lib:libQt5Gui$secondaryArchSuffix
lib:libQt5Network$secondaryArchSuffix
lib:libQt5Qml$secondaryArchSuffix
lib:libQt5QmlModels$secondaryArchSuffix
lib:libQt5Quick$secondaryArchSuffix
lib:libQt5QuickWidgets$secondaryArchSuffix
lib:libQt5Widgets$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libGL$secondaryArchSuffix
devel:libQt5Core$secondaryArchSuffix
devel:libQt5Gui$secondaryArchSuffix
devel:libQt5Network$secondaryArchSuffix
devel:libQt5Qml$secondaryArchSuffix
devel:libQt5QmlModels$secondaryArchSuffix
devel:libQt5Quick$secondaryArchSuffix
devel:libQt5QuickWidgets$secondaryArchSuffix
devel:libQt5Widgets$secondaryArchSuffix
"
BUILD_PREREQUIRES="
cmd:g++$secondaryArchSuffix
cmd:make
cmd:qmake$secondaryArchSuffix >= 5
"
BUILD()
{
qmake -r
make $jobArgs
}
INSTALL()
{
mkdir $appsDir
cp dukto $appsDir/Dukto
mkdir -p $dataDir/deskbar/menu/Applications
addAppDeskbarSymlink "$appsDir/Dukto"
}