Recipe of new version of Filer.

This commit is contained in:
Humdinger
2016-04-09 17:18:27 +02:00
parent f5f8c909b1
commit 4781fe16d3

View File

@@ -0,0 +1,71 @@
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 is an automatic file organizer. It 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="1"
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 objects/Filer $binDir/Filer
cp -af objects/AutoFiler $appsDir/Filer
cp -af objects/AutoFiler\ Settings $appsDir/Filer
addAppDeskbarSymlink $appsDir/Filer/Filer
}