Files
haikuports/haiku-apps/masterpiece/masterpiece-r742.recipe

63 lines
1.8 KiB
Bash

SUMMARY="New way to create opendocument compatible books/documents"
DESCRIPTION="This is an attempt to create a new way to create documents or books. It moves \
away from the WYSIWYG paradigm of microsoft word, openoffice, etc. etc. etc. It takes a more \
keyboard only, thought flowing and typing markup language, object oriented approach where a user \
who has ideas or thoughts can jot these down and have them go into a list. to build their \
document/book, they would then order the list of thoughts, images, tables, etc. into the correct \
order and preview/publish their book."
HOMEPAGE="http://code.google.com/p/masterpiece/
https://github.com/HaikuArchives/Masterpiece"
COPYRIGHT="2010-2012 Pasquale J. Rinaldi, Jr."
LICENSE="MIT"
REVISION="4"
srcGitRev="e7dc8653ca6345174ae944eddb3e2bca22e6e8dc"
SOURCE_URI="https://github.com/Begasus/Masterpiece/archive/$srcGitRev.tar.gz"
CHECKSUM_SHA256="43db8804bb66dbcc0d67719238e2f1435caa97405becf02bd9860eb5215a5c13"
SOURCE_DIR="Masterpiece-$srcGitRev"
PATCHES="masterpiece-$portVersion.patchset"
ARCHITECTURES="?all ?x86_gcc2"
SECONDARY_ARCHITECTURES="?x86_gcc2 ?x86"
PROVIDES="
masterpiece$secondaryArchSuffix = $portVersion
app:MasterPiece = $portVersion
"
REQUIRES="
haiku$secondaryArchSuffix
docutils_python310
cmd:rst2pdf
lib:liblayout$secondaryArchSuffix
lib:libpython3.10$secondaryArchSuffix
lib:libsqlite3$secondaryArchSuffix
"
BUILD_REQUIRES="
haiku${secondaryArchSuffix}_devel
devel:libpython3.10$secondaryArchSuffix
devel:libsqlite3$secondaryArchSuffix
"
BUILD_PREREQUIRES="
makefile_engine
cmd:gcc$secondaryArchSuffix
cmd:ld$secondaryArchSuffix
cmd:make
"
BUILD()
{
cd src
make BUILDHOME=`finddir B_SYSTEM_DEVELOP_DIRECTORY` \
OBJ_DIR=objects
}
INSTALL()
{
mkdir -p $appsDir $docDir
cp ./src/objects/MasterPiece $appsDir
cp ./src/*.html $docDir
addAppDeskbarSymlink $appsDir/MasterPiece
}