From 3afef181898e35152f0086e2acbd730567d21ec6 Mon Sep 17 00:00:00 2001 From: Brian Date: Sun, 25 Dec 2016 13:57:52 -0500 Subject: [PATCH] Adding new port SimpleBackup v2.0.1 (#861) --- .../simplebackup/simplebackup-2.0.1.recipe | 60 +++++++++++++++++++ 1 file changed, 60 insertions(+) create mode 100644 haiku-apps/simplebackup/simplebackup-2.0.1.recipe diff --git a/haiku-apps/simplebackup/simplebackup-2.0.1.recipe b/haiku-apps/simplebackup/simplebackup-2.0.1.recipe new file mode 100644 index 000000000..48df5b7da --- /dev/null +++ b/haiku-apps/simplebackup/simplebackup-2.0.1.recipe @@ -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 +} \ No newline at end of file