mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 11:40:06 +02:00
Add recipe for Filer v1.2.0
This commit is contained in:
72
haiku-apps/filer/filer-1.2.0.recipe
Normal file
72
haiku-apps/filer/filer-1.2.0.recipe
Normal file
@@ -0,0 +1,72 @@
|
||||
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 onto it's icon or \
|
||||
replicatable dropzone 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
|
||||
2016 Humdinger, Pete Goodeve
|
||||
2017 Owen Pan"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/HaikuArchives/Filer/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="8ab231ca97f45df5cefa712a9051645e998309e39e9b5f0b59848b153bf00017"
|
||||
SOURCE_DIR="Filer-$portVersion"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
filer = $portVersion
|
||||
app:AutoFiler = $portVersion
|
||||
app:Filer = $portVersion
|
||||
cmd:Filer = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
cmd:zip
|
||||
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
|
||||
make $jobArgs OBJ_DIR=objects
|
||||
make bindcatalogs OBJ_DIR=objects
|
||||
make -f Makefile_AutoFiler $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
|
||||
|
||||
addAppDeskbarSymlink $appsDir/Filer/Filer
|
||||
}
|
||||
Reference in New Issue
Block a user