mirror of
https://github.com/yann64/haikuports.git
synced 2026-05-05 14:38:51 +02:00
seeks, remove old bep file, bump version (#1322)
This commit is contained in:
committed by
waddlesplash
parent
7278a5d3c3
commit
a20b67b147
117
www-aps/seeks/seeks-0.4.1.recipe
Normal file
117
www-aps/seeks/seeks-0.4.1.recipe
Normal file
@@ -0,0 +1,117 @@
|
||||
SUMMARY="A websearch proxy and collaborative distributed tool "
|
||||
DESCRIPTION="An Open Decentralized Platform for Collaborative Search, \
|
||||
Filtering and content Curation."
|
||||
HOMEPAGE="http://www.seeks-project.info/"
|
||||
COPYRIGHT="2006, 2009, 2010 Emmanuel Benazera
|
||||
Camille Harang
|
||||
Mehdi Abaakouk
|
||||
Pablo Joubert
|
||||
Laurent Peuch
|
||||
Stéphane Bonhomme
|
||||
Francois Revol"
|
||||
LICENSE="GNU AGPL v3"
|
||||
REVISION="1"
|
||||
SOURCE_URI="https://sf.net/projects/seeks/files/hippy/seeks-$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="b890f2e95ab0161e0be6f82cfc224f9cf6e49ce69d18bf3decddb91fb85cebde"
|
||||
PATCHES="seeks-$portVersion.patchset"
|
||||
|
||||
GLOBAL_WRITABLE_FILES="
|
||||
settings/seeks/config keep-old
|
||||
settings/seeks/img-websearch-config keep-old
|
||||
settings/seeks/lsh-config keep-old
|
||||
settings/seeks/websearch-config keep-old
|
||||
"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
PROVIDES="
|
||||
seeks$secondaryArchSuffix = $portVersion
|
||||
cmd:gen_mrf_query_160$secondaryArchSuffix
|
||||
cmd:seeks$secondaryArchSuffix
|
||||
cmd:seeks_cli$secondaryArchSuffix
|
||||
cmd:test_readable$secondaryArchSuffix
|
||||
lib:librmd160$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
lib:libseeksdht$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
lib:libseekslsh$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
lib:libseeksplugins$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
lib:libseeksproxy$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
lib:libseeksutils$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
lib:libseekswebsearchplugin$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
lib:libseekswebsearchapicompatplugin$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
lib:libreadableplugin$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
lib:libseeksimgwebsearchplugin$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libcurl$secondaryArchSuffix
|
||||
lib:libcrypto$secondaryArchSuffix
|
||||
lib:libevent$secondaryArchSuffix
|
||||
lib:libiconv$secondaryArchSuffix
|
||||
lib:libssl$secondaryArchSuffix
|
||||
lib:libpcre$secondaryArchSuffix
|
||||
lib:libxml2$secondaryArchSuffix
|
||||
lib:libz$secondaryArchSuffix
|
||||
#for internal bin files
|
||||
lib:libseekswebsearchplugin$secondaryArchSuffix
|
||||
lib:libseekswebsearchapicompatplugin$secondaryArchSuffix
|
||||
lib:libreadableplugin$secondaryArchSuffix
|
||||
lib:libseeksimgwebsearchplugin$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
seeks${secondaryArchSuffix}_devel = $portVersion
|
||||
devel:librmd160$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
devel:libseeksdht$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
devel:libseekslsh$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
devel:libseeksplugins$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
devel:libseeksproxy$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
devel:libseeksutils$secondaryArchSuffix = 0.0.0 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
seeks$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcurl$secondaryArchSuffix
|
||||
devel:libevent$secondaryArchSuffix
|
||||
devel:libiconv$secondaryArchSuffix
|
||||
devel:libpcre$secondaryArchSuffix
|
||||
devel:libxml2$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:awk
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:pkg_config$secondaryArchSuffix
|
||||
"
|
||||
BUILD()
|
||||
{
|
||||
export CFLAGS="-D_BSD_SOURCE"
|
||||
export LDFLAGS="-lbsd -liconv"
|
||||
export CXXLAGS="-D_BSD_SOURCE"
|
||||
|
||||
autoreconf -vfi
|
||||
runConfigure ./configure
|
||||
make $jobArgs
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm $libDir/*.la
|
||||
rm $libDir/seeks/plugins/*/*.la
|
||||
|
||||
prepareInstalledDevelLibs librmd160 libseeksdht \
|
||||
libseekslsh libseeksplugins \
|
||||
libseeksproxy libseeksutils
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$developDir
|
||||
}
|
||||
Reference in New Issue
Block a user