[COPY] --- T2-COPYRIGHT-BEGIN --- [COPY] t2/package/*/tomcat/tomcat.desc [COPY] Copyright (C) 2004 - 2025 The T2 SDE Project [COPY] Copyright (C) 1998 - 2005 ROCK Linux Project [COPY] SPDX-License-Identifier: GPL-2.0 [COPY] --- T2-COPYRIGHT-END --- [I] A Servlet Container [T] Tomcat is the servlet container that is used in the official Reference [T] Implementation for the Java Servlet and JavaServer Pages technologies. [U] https://jakarta.apache.org/tomcat/ [A] The Apache Software Foundation [M] The T2 Project [C] extra/server [F] BINARY CROSS [L] APL [S] Stable [V] 11.0.9 [D] 0b9e15efa44ca3c7085964ded77314423d560742516aa5bd2e45b5a2 apache-tomcat-11.0.9.tar.gz https://dlcdn.apache.org/tomcat/tomcat-11/v11.0.9/bin/ autoextract=0 runmake=0 prefix=opt/$pkg set_confopt tomcat_extract() { for file in `match_source_file -p . `; do echo "extracting ${file##*/}..." tar -v $taropt $file done } tomcat_install() { (cd $builddir/apache-tomcat-$ver; tar -c * | tar -x -C $root/$prefix) } hook_add premake 5 'tomcat_extract' hook_add postmake 5 'tomcat_install'