Files
haikuports/haiku-apps/filer/filer-1.0.0.recipe
Humdinger fce7b0cc73 Fixed Filer recipe
The link to Filer in $binDir pointed into the abyss...
2016-04-13 19:22:20 +02:00

72 lines
1.8 KiB
Bash

SUMMARY="An automated file management and sorting system"
DESCRIPTION="The Filer is a powerful, flexible automatic file organizer. It \
is an implementation of the 'Sorting Chute' idea conceived on the Glass \
Elevator mailing list for Haiku.
Filer takes the files it's opened with or that are dropped on its icon and \
moves, renames, copies or does all sorts of other things with them according \
to rules created by the user.
Filer is accompanied by AutoFiler. Instead of working on a set of files \
provided by the user, it can be started together with Haiku to monitor certain \
folders and deal with new files appearing there according to the user-defined \
rules."
HOMEPAGE="https://github.com/HaikuArchives/Filer"
COPYRIGHT="2008 DarkWyrm"
LICENSE="MIT"
REVISION="2"
SOURCE_URI="https://github.com/HaikuArchives/Filer/archive/1e452286b24fbf3722ec2ffb06bc55467b01b0d2.tar.gz"
CHECKSUM_SHA256="8dd8bf6cfe2074425fed02e91bdb2854c65f96840e6ef16466f025f76f27f4b8"
SOURCE_DIR="Filer-1e452286b24fbf3722ec2ffb06bc55467b01b0d2"
ARCHITECTURES="!x86 x86_gcc2"
PROVIDES="
filer = $portVersion
app:Filer = $portVersion
cmd:Filer = $portVersion
"
REQUIRES="
haiku
lib:libsqlite3
"
BUILD_REQUIRES="
haiku_devel
devel:libsqlite3
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++
cmd:make
"
USER_SETTINGS_FILES="
settings/Filer directory
"
BUILD()
{
cd sources/Filer
make $jobArgs OBJ_DIR=../objects
cd ../AutoFiler
make $jobArgs OBJ_DIR=../objects
make -f Makefile_settings $jobArgs OBJ_DIR=../objects
}
INSTALL()
{
mkdir -p $appsDir/Filer $binDir
cp -af documentation $appsDir/Filer
cd sources
cp -af objects/Filer $appsDir/Filer
ln -s $appsDir/Filer/Filer $binDir
cp -af objects/AutoFiler $appsDir/Filer
cp -af objects/AutoFiler\ Settings $appsDir/Filer
addAppDeskbarSymlink $appsDir/Filer/Filer
}