mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 03:30:05 +02:00
new recepie for xmlbmessage cli tool to convert BMessage to XML and vice versa (#4585)
This commit is contained in:
48
haiku-apps/xmlbmessage/xmlbmessage-1.0.recipe
Normal file
48
haiku-apps/xmlbmessage/xmlbmessage-1.0.recipe
Normal file
@@ -0,0 +1,48 @@
|
||||
SUMMARY="CLI tool to convert BMessages to XML Files"
|
||||
DESCRIPTION="A small commandline tool for Haiku which converts flattened \
|
||||
BMessage files to XML and the other way around"
|
||||
APP="XMLBMessage"
|
||||
HOMEPAGE="https://github.com/Paradoxianer/$APP"
|
||||
COPYRIGHT="2016 - 2019 Matthias \"Paradoxianer\" Lindner"
|
||||
LICENSE="MIT"
|
||||
REVISION="1"
|
||||
srcGitRev="68b6caab61bb78b994258c688b311334f0122168"
|
||||
SOURCE_URI="$HOMEPAGE/archive/$srcGitRev.tar.gz"
|
||||
CHECKSUM_SHA256="1e93964da7a1ad354b4114658c7c1cbf393e9b907a3e642ae3ba514a9ee2425b"
|
||||
SOURCE_FILENAME="$APP-$portVersion-$srcGitRev.tar.gz"
|
||||
SOURCE_DIR="$APP-$srcGitRev"
|
||||
|
||||
ARCHITECTURES="x86_gcc2 x86 x86_64"
|
||||
|
||||
PROVIDES="
|
||||
xmlbmessage = $portVersion
|
||||
cmd:xmlbmessage
|
||||
"
|
||||
REQUIRES="
|
||||
haiku
|
||||
lib:libtinyxml
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku_devel
|
||||
devel:libtinyxml
|
||||
"
|
||||
|
||||
BUILD_PREREQUIRES="
|
||||
makefile_engine
|
||||
cmd:find
|
||||
cmd:g++
|
||||
cmd:make
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
cd src
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
mkdir $binDir
|
||||
cp $(find * -mindepth 2 -type f -executable) $binDir
|
||||
}
|
||||
Reference in New Issue
Block a user