0
0
Fork 0
haikuports/haiku-apps/snapshot/snapshot-1.0.recipe

44 lines
1.0 KiB
Bash

SUMMARY="Tracker add-on to take snapshots of files or folders"
DESCRIPTION="This Tracker add-on lets you take snapshots of a folder, saving it \
as zip file, with a timestamp, to a preset folder. Snapshots are \
currently saved to /boot/home/Snapshots"
HOMEPAGE="https://github.com/HaikuArchives/SnapShot"
COPYRIGHT="2000 Jonas Sundström"
LICENSE="BSD (3-clause)"
REVISION="2"
SOURCE_URI="https://github.com/HaikuArchives/Snapshot/archive/9ba592336a0d54707b7e5983dce93f8958b61d37.tar.gz"
CHECKSUM_SHA256="27c3693fe96b81be306efac1a3cd41dd4122796c73fb84e56f9c006b280af876"
SOURCE_DIR="Snapshot-9ba592336a0d54707b7e5983dce93f8958b61d37"
ARCHITECTURES="x86_gcc2"
USER_SETTINGS_FILES="settings/Kirilla/Snapshot/settings"
PROVIDES="
snapshot = $portVersion
addon:snapshot = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc
"
BUILD()
{
cd Source
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $addOnsDir/Tracker
cp -a Source/objects/Snapshot $addOnsDir/Tracker
}