mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
LockWorkstation: new recipe
This commit is contained in:
56
haiku-apps/lockworkstation/lockworkstation-0.99.recipe
Normal file
56
haiku-apps/lockworkstation/lockworkstation-0.99.recipe
Normal 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
|
||||
}
|
||||
Reference in New Issue
Block a user