mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-08 21:00:05 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
57 lines
1.3 KiB
Bash
57 lines
1.3 KiB
Bash
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="?all"
|
|
|
|
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
|
|
}
|