mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-14 07:40:07 +02:00
x86_64 is used as a baseline: the "x86_64" entry, whatever status it has, is transformed into "all", and then the other entries in ARCHITECTURES either dropped or rearranged appropriately.
81 lines
1.8 KiB
Bash
81 lines
1.8 KiB
Bash
SUMMARY="C++ library for platform-independent programs"
|
|
DESCRIPTION="Some of the highlights include:
|
|
|
|
- A typesafe, multi-threaded event system that's very simple to use yet \
|
|
extremely efficient
|
|
- Timers for periodic events
|
|
- A datetime class that not only tracks timestamp but also their accuracy, \
|
|
which simplifies dealing with timestamps originating from different sources
|
|
- Simple process handling for spawning child processes with redirected I/O"
|
|
HOMEPAGE="https://lib.filezilla-project.org/"
|
|
COPYRIGHT="2015-2017 Tim Kosse"
|
|
LICENSE="GNU GPL v2"
|
|
REVISION="1"
|
|
SOURCE_URI="http://download.filezilla-project.org/libfilezilla/libfilezilla-$portVersion.tar.bz2"
|
|
CHECKSUM_SHA256="ecbaa674c0ad0b63df842b8cde17935a497dd58c3749baa281c67cf5878e64f7"
|
|
|
|
ARCHITECTURES="all ?x86_gcc2"
|
|
SECONDARY_ARCHITECTURES="x86"
|
|
|
|
PROVIDES="
|
|
libfilezilla$secondaryArchSuffix = $portVersion
|
|
lib:libfilezilla$secondaryArchSuffix = 0.0.0 compat >= 0
|
|
"
|
|
REQUIRES="
|
|
haiku$secondaryArchSuffix
|
|
lib:libiconv$secondaryArchSuffix
|
|
"
|
|
|
|
PROVIDES_devel="
|
|
libfilezilla${secondaryArchSuffix}_devel = $portVersion
|
|
devel:libfilezilla$secondaryArchSuffix = 0.0.0 compat >= 0
|
|
"
|
|
REQUIRES_devel="
|
|
libfilezilla$secondaryArchSuffix == $portVersion base
|
|
"
|
|
|
|
BUILD_REQUIRES="
|
|
haiku${secondaryArchSuffix}_devel
|
|
devel:libcppunit$secondaryArchSuffix
|
|
devel:libiconv$secondaryArchSuffix
|
|
"
|
|
BUILD_PREREQUIRES="
|
|
cmd:aclocal
|
|
cmd:autoconf
|
|
cmd:automake
|
|
cmd:doxygen
|
|
cmd:gcc$secondaryArchSuffix
|
|
cmd:ld$secondaryArchSuffix
|
|
cmd:libtoolize$secondaryArchSuffix
|
|
cmd:make
|
|
cmd:pkg_config$secondaryArchSuffix
|
|
"
|
|
|
|
BUILD()
|
|
{
|
|
export CPPFLAGS="-D_BSD_SOURCE"
|
|
export LDFLAGS="-lbsd"
|
|
|
|
autoreconf -vfi
|
|
runConfigure ./configure
|
|
make $jobArgs
|
|
}
|
|
|
|
INSTALL()
|
|
{
|
|
make install
|
|
|
|
rm -f $libDir/libfilezilla.la
|
|
|
|
prepareInstalledDevelLibs libfilezilla
|
|
fixPkgconfig
|
|
|
|
packageEntries devel \
|
|
$developDir
|
|
}
|
|
|
|
TEST()
|
|
{
|
|
make check
|
|
}
|