mirror of
https://github.com/yann64/haikuports.git
synced 2026-04-22 19:50:05 +02:00
Delete cherokee-1.2.104.recipe
This commit is contained in:
@@ -1,116 +0,0 @@
|
||||
SUMMARY="A high-performance web server"
|
||||
DESCRIPTION="Cherokee is a high-performance web server. It is very fast, \
|
||||
flexible and easy to configure. It offers support for the widespread \
|
||||
technologies nowadays: FastCGI, SCGI, PHP, CGI, SSI, TLS and SSL \
|
||||
encrypted connections, Virtual hosts, Authentication, on the fly encoding, \
|
||||
Load Balancing, Apache compatible log files, Data Base Balancer, \
|
||||
downtime-free updates and upgrades, Reverse HTTP Proxy, and much more."
|
||||
HOMEPAGE="http://www.cherokee-project.com"
|
||||
COPYRIGHT="2001-2014 Alvaro Lopez Ortega"
|
||||
LICENSE="GNU GPL v2"
|
||||
REVISION="2"
|
||||
SOURCE_URI="https://github.com/cherokee/webserver/archive/v$portVersion.tar.gz"
|
||||
CHECKSUM_SHA256="5cbd00ff48503eaf90356b2975e311c02977f9166927e57fc23f541a109efd98"
|
||||
SOURCE_DIR="webserver-$portVersion"
|
||||
PATCHES="cherokee-$portVersion.patchset"
|
||||
|
||||
ARCHITECTURES="!x86_gcc2 x86 x86_64"
|
||||
SECONDARY_ARCHITECTURES="x86"
|
||||
|
||||
GLOBAL_WRITABLE_FILES="
|
||||
settings/cherokee/cherokee.conf.perf_sample keep-old
|
||||
settings/cherokee/cherokee.conf keep-old
|
||||
var/www/images/cherokee-logo.png keep-old
|
||||
var/www/images/default-bg.png keep-old
|
||||
var/www/images/favicon.ico keep-old
|
||||
var/www/images/powered_by_cherokee.png keep-old
|
||||
var/www/index.html keep-old
|
||||
"
|
||||
|
||||
PROVIDES="
|
||||
cherokee$secondaryArchSuffix = $portVersion
|
||||
cmd:cget$secondaryArchSuffix
|
||||
cmd:cherokee$secondaryArchSuffix
|
||||
cmd:cherokee_admin$secondaryArchSuffix
|
||||
cmd:cherokee_admin_launcher$secondaryArchSuffix
|
||||
cmd:cherokee_macos_askpass$secondaryArchSuffix
|
||||
cmd:cherokee_panic$secondaryArchSuffix
|
||||
cmd:cherokee_tweak$secondaryArchSuffix
|
||||
cmd:cherokee_worker$secondaryArchSuffix
|
||||
cmd:ctk_run$secondaryArchSuffix
|
||||
lib:libcherokee_base$secondaryArchSuffix = 0.0.1 compat >= 0
|
||||
lib:libcherokee_client$secondaryArchSuffix = 0.0.1 compat >= 0
|
||||
lib:libcherokee_server$secondaryArchSuffix = 0.0.1 compat >= 0
|
||||
"
|
||||
REQUIRES="
|
||||
haiku$secondaryArchSuffix
|
||||
lib:libcrypto$secondaryArchSuffix
|
||||
lib:libintl$secondaryArchSuffix
|
||||
lib:libpcre$secondaryArchSuffix
|
||||
lib:libssl$secondaryArchSuffix
|
||||
"
|
||||
|
||||
PROVIDES_devel="
|
||||
cherokee${secondaryArchSuffix}_devel
|
||||
cmd:cherokee_config$secondaryArchSuffix
|
||||
devel:libcherokee_base$secondaryArchSuffix = 0.0.1 compat >= 0
|
||||
devel:libcherokee_client$secondaryArchSuffix = 0.0.1 compat >= 0
|
||||
devel:libcherokee_server$secondaryArchSuffix = 0.0.1 compat >= 0
|
||||
"
|
||||
REQUIRES_devel="
|
||||
cherokee$secondaryArchSuffix == $portVersion base
|
||||
"
|
||||
|
||||
BUILD_REQUIRES="
|
||||
haiku${secondaryArchSuffix}_devel
|
||||
devel:libcrypto$secondaryArchSuffix
|
||||
devel:libintl$secondaryArchSuffix
|
||||
devel:libpcre$secondaryArchSuffix
|
||||
devel:libssl$secondaryArchSuffix
|
||||
"
|
||||
BUILD_PREREQUIRES="
|
||||
cmd:aclocal
|
||||
cmd:autoconf
|
||||
cmd:awk
|
||||
cmd:gcc$secondaryArchSuffix
|
||||
cmd:libtoolize$secondaryArchSuffix
|
||||
cmd:make
|
||||
cmd:python2
|
||||
"
|
||||
|
||||
BUILD()
|
||||
{
|
||||
runConfigure ./autogen.sh \
|
||||
--datarootdir=$dataDir \
|
||||
--docdir=$docDir \
|
||||
--sysconfdir=$settingsDir
|
||||
|
||||
make $jobArgs
|
||||
|
||||
}
|
||||
|
||||
INSTALL()
|
||||
{
|
||||
make install
|
||||
|
||||
rm $libDir/*.la
|
||||
rm $libDir/cherokee/*.la
|
||||
|
||||
prepareInstalledDevelLibs libcherokee-base \
|
||||
libcherokee-client \
|
||||
libcherokee-server
|
||||
|
||||
fixPkgconfig
|
||||
|
||||
packageEntries devel \
|
||||
$developDir \
|
||||
$binDir/cherokee-config \
|
||||
$manDir \
|
||||
$dataDir/aclocal
|
||||
|
||||
echo "Copying files from $prefix/share/cherokee/ ..."
|
||||
cp -R $prefix/share/cherokee/* $dataDir/cherokee/
|
||||
|
||||
echo "Removing $prefix/share/ ..."
|
||||
rm -rf $prefix/share
|
||||
}
|
||||
Reference in New Issue
Block a user