Files
haikuports/app-office/abiword/abiword-2.4.recipe
2017-11-10 16:12:40 +03:00

66 lines
1.5 KiB
Bash

SUMMARY="A free word processing program similar to Microsoft® Word"
DESCRIPTION="AbiWord is a free word processing program similar to Microsoft® \
Word. It is suitable for a wide variety of word processing tasks.
AbiWord allows you to collaborate with multiple people on one document at the \
same time. It is tightly integrated with the AbiCollab.net web service, which \
lets you store documents online, allows easy document sharing with your \
friends, and performs format conversions on the fly."
HOMEPAGE="https://www.abisource.com/"
COPYRIGHT="1998-2014 the AbiSource community"
LICENSE="GNU GPL v2"
REVISION="3"
COMMIT="217fbb622ee64efc181cd67d2742d6a60a086e2d"
SOURCE_URI="https://github.com/HaikuArchives/AbiWord/archive/$COMMIT.tar.gz"
SOURCE_DIR="AbiWord-$COMMIT"
CHECKSUM_SHA256="7ec2ddca905c8ccb923315d952d04e90a4c124d50dc42dddbd1957a8ee6e915e"
ARCHITECTURES="x86_gcc2 !x86_64"
PROVIDES="
abiword = $portVersion
app:AbiWord
"
REQUIRES="
lib:libfribidi
lib:libexpat
lib:libiconv
lib:libpng
lib:libpopt
lib:libpsiconv
lib:libxml2
lib:libz
"
BUILD_REQUIRES="
devel:libfribidi
devel:libexpat
devel:libiconv
devel:libpng
devel:libpopt
devel:libpsiconv
devel:libxml2
devel:libz
"
BUILD_PREREQUIRES="
haiku_devel
cmd:cmp
cmd:gcc
cmd:make
cmd:ld
"
BUILD()
{
chmod +x abi/configure wv/configure
cd abi/src
# AbiWord doesn't build with multiple jobs specified
make
}
INSTALL()
{
mkdir $appsDir
cp abi/src/*/bin/* $appsDir
addAppDeskbarSymlink $appsDir/AbiWord
}