mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-06 06:58:57 +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.9 KiB
Bash
68 lines
1.9 KiB
Bash
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 it’s window. That’s 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"
|
||
}
|