mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Adding new port SimpleBackup v2.0.1 (#861)
This commit is contained in:
60
haiku-apps/simplebackup/simplebackup-2.0.1.recipe
Normal file
60
haiku-apps/simplebackup/simplebackup-2.0.1.recipe
Normal file
@@ -0,0 +1,60 @@
|
||||
SUMMARY="Graphical interface to run the zip command"
|
||||
DESCRIPTION="This application makes it easy to create and update backups of \
|
||||
large amounts of data. For example, you can create a backup of your home \
|
||||
directory and run this application regularly to make sure the backup is up to \
|
||||
date. SimpleBackup also accepts command line options, so it is easily \
|
||||
scriptable and can be used with scheduling applications."
|
||||
HOMEPAGE="https://perelandra0x309.github.io/simplebackup"
|
||||
COPYRIGHT="2010-2016 Brian Hill"
|
||||
LICENSE="BSD (3-clause)"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://github.com/Perelandra0x309/simplebackup/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="463df905df35a74e81127d1c28d20a1f2c94ff1b89f6939abf081ecc70e60c62"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 !x86"
|
||||
|
||||
PROVIDES="
|
||||
simplebackup = $portVersion
|
||||
app:SimpleBackup = $portVersion
|
||||
cmd:SBQueue = $portVersion
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
cmd:g++
|
||||
cmd:make
|
||||
"
|
||||
|
||||
USER_SETTINGS_FILES="settings/SimpleBackup directory"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd src
|
||||
make
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir -p $appsDir/SimpleBackup
|
||||
mkdir -p $binDir
|
||||
|
||||
# copy documentation
|
||||
cp -af ReadMe License $appsDir/SimpleBackup
|
||||
|
||||
# copy executables
|
||||
cp -af SimpleBackup $appsDir/SimpleBackup
|
||||
cp -af SBQueue $binDir
|
||||
|
||||
# copy example files
|
||||
cp -af home_backup_settings backup_example.sh $appsDir/SimpleBackup
|
||||
chmod +x $appsDir/SimpleBackup/backup_example.sh
|
||||
|
||||
# deskbar link
|
||||
addAppDeskbarSymlink $appsDir/SimpleBackup/SimpleBackup
|
||||
}
|
||||
Reference in New Issue
Block a user