69 lines
1.3 KiB
Bash
69 lines
1.3 KiB
Bash
SUMMARY="Email library (MIME) written in C++"
|
|
DESCRIPTION="A powerful, full featured, STL-based, standards compilant and \
|
|
free C++ MIME library."
|
|
HOMEPAGE="http://www.codesink.org/mimetic_mime_library.html"
|
|
COPYRIGHT="2003-2014 Stefano Barbato"
|
|
LICENSE="MIT"
|
|
REVISION="2"
|
|
SOURCE_URI="http://www.codesink.org/download/mimetic-$portVersion.tar.gz"
|
|
CHECKSUM_SHA256="3a07d68d125f5e132949b078c7275d5eb0078dd649079bd510dd12b969096700"
|
|
PATCHES="mimetic-$portVersion.patchset"
|
|
|
|
ARCHITECTURES="all ?x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="?x86_gcc2 x86"
|
|
|
|
PROVIDES="
|
|
mimetic$secondaryArchSuffix = $portVersion
|
|
lib:libmimetic$secondaryArchSuffix = 0.0.0 compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
mimetic${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libmimetic$secondaryArchSuffix = 0.0.0 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
haiku${secondaryArchSuffix}_devel
|
|
mimetic$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:autoreconf
|
|
cmd:awk
|
|
cmd:diff
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:grep
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:sed
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
autoreconf -fi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm $libDir/libmimetic.la
|
|
prepareInstalledDevelLib libmimetic
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|