45 lines
1.0 KiB
Bash
45 lines
1.0 KiB
Bash
SUMMARY="A viewer and editor for flattened BMessages"
|
|
DESCRIPTION="Kottan lets you view and edit the contents of files that contain \
|
|
flattened BMessages, a common technique for applications to archive their \
|
|
settings and other data."
|
|
HOMEPAGE="https://github.com/andimachovec/Kottan"
|
|
COPYRIGHT="2021 Andi Machovec"
|
|
LICENSE="MIT"
|
|
REVISION="2"
|
|
SOURCE_URI="https://github.com/andimachovec/Kottan/archive/$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="8016ab074344a9868651375ff6c822cdc7bf78fa396f81242a93bda3098b8085"
|
|
SOURCE_DIR="Kottan-$portVersion"
|
|
|
|
ARCHITECTURES="all !x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
kottan$secondaryArchSuffix = $portVersion
|
|
app:Kottan = $portVersion
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
makefile_engine
|
|
cmd:g++$secondaryArchSuffix
|
|
cmd:make
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
make $jobArgs OBJ_DIR=objects
|
|
make bindcatalogs OBJ_DIR=objects
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
mkdir -p $appsDir
|
|
cp -af objects/Kottan $appsDir
|
|
addAppDeskbarSymlink $appsDir/Kottan
|
|
}
|