Update Beam recipe to working state

* This needs some updates to the Beam source, which I'm sending to
oliver now.
 * This also needs liblayout, which was turned into a package but still
closed source. I'll add that to HaikuPorts.
This commit is contained in:
Adrien Destugues
2013-10-17 10:40:04 +02:00
parent b5234b9493
commit 8131a86bbc

View File

@@ -1,28 +1,48 @@
DESCRIPTION="An e-mail client."
SUMMARY="An e-mail client."
HOMEPAGE="http://beam.sourceforge.net"
SRC_URI="git://beam.git.sourceforge.net/gitroot/beam/beam"
REVISION="1"
STATUS_HAIKU="stable"
DEPEND="liblayout >= 1.4.0
libpcre >= 8.00"
#CHECKSUM_MD5=""
ARCHITECTURES="x86_gcc2"
PROVIDES="
beam = $portVersion
"
REQUIRES="
liblayout >= 1.4.0
libpcre >= 8.00
lib:libssl
"
BUILD_REQUIRES="
devel:liblayout >= 1.4.0
devel:libpcre
devel:libiconv
devel:libssl
"
BUILD_PREREQUIRES="
haiku_devel >= $haikuVersion
cmd:jam
cmd:gcc
cmd:bison
cmd:flex
"
BUILD()
{
cd beam-1.2alpha
jam
jam -q -j$jobArgs
}
INSTALL()
{
cd beam-1.2alpha
mkdir -p ${DESTDIR}/boot/apps/Beam
cp -a generated/distro-haiku/* ${DESTDIR}/boot/apps/Beam
cp -a Changes.txt GnuGeneralPublicLicense.txt Readme.txt ${DESTDIR}/boot/apps/Beam
mkdir -p ${DESTDIR}/boot/apps/Beam/Icons
cp -a resources/iconset* ${DESTDIR}/boot/apps/Beam/Icons
cd ${DESTDIR}/boot/apps/Beam/tools
mkdir -p ${appsDir}/Beam
cp -a generated/distro-haiku/* ${appsDir}/Beam
cp -a Changes.txt Readme.txt ${appsDir}/Beam
mkdir -p ${appsDir}/Beam/Icons
cp -a resources/iconset* ${appsDir}/Beam/Icons
cd ${appsDir}/Beam/tools
ln -s ../lib .
ln -s ../add-ons .
}
LICENSE="GNU GPL v2"
COPYRIGHT="2000-2012 Oliver Tappe"
DESCRIPTION="
Beam (BEware, Another Mailer) is an open source e-mail client for BeOS (R5 and
onwards) that aims to be fast, stable and feature-complete.
"