LockWorkstation: new recipe

This commit is contained in:
Sergei Reznikov
2018-09-18 17:09:02 +03:00
parent e3efc15ba1
commit d2342a43af

View File

@@ -0,0 +1,56 @@
SUMMARY="Lock your Haiku workstation"
DESCRIPTION="LockWorkstation provides a login screen to Haiku. \
With LockWorkstation you can protect and restrict accesses to Haiku."
HOMEPAGE="https://github.com/HaikuArchives/LockWorkstation"
COPYRIGHT="2002 Marius Stene"
LICENSE="MIT"
REVISION="1"
srcGitRev="58a6b9d9c8bebe7792e4a308563eedacd9a7fef3"
SOURCE_URI="https://github.com/HaikuArchives/LockWorkstation/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="cf0c18293ad3f9dadba7f3d09ec96e0c8d0fda003e2662e72cb8fdf4a11686ee"
SOURCE_DIR="LockWorkstation-$srcGitRev"
ARCHITECTURES="?x86_gcc2 ?x86 ?x86_64"
PROVIDES="
lockworkstation = $portVersion
app:LockWorkstation = $portVersion
"
REQUIRES="
haiku
"
BUILD_REQUIRES="
haiku_devel
"
BUILD_PREREQUIRES="
makefile_engine
cmd:g++
cmd:make
"
BUILD()
{
cd src/application
make $jobArgs OBJ_DIR=objects
cd ../preflet
make $jobArgs OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $appsDir/LockWorkstation
cp src/application/objects/LockWorkstation \
$appsDir/LockWorkstation
cp src/preflet/objects/LockWorkstation \
$appsDir/LockWorkstation/LockWorkstationPreflet
cp -r images $appsDir/LockWorkstation
cp -r docs $appsDir/LockWorkstation
addAppDeskbarSymlink $appsDir/LockWorkstation/LockWorkstation
addPreferencesDeskbarSymlink \
$appsDir/LockWorkstation/LockWorkstationPreflet
}