cgit: Added cgit 0.7.3-c502865 - A CGI for git written in C
[opensde-package-nopast.git] / java / tomcat5 / tomcat5.conf
blobedd52cb6eee6a12b0c1f8deef4aa9303faaccca4
1 # --- SDE-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # Filename: package/.../tomcat5/tomcat5.conf
5 # Copyright (C) 2006 - 2008 The OpenSDE Project
6 # Copyright (C) 2004 - 2006 The T2 SDE Project
7 # Copyright (C) 1998 - 2005 Clifford Wolf
9 # More information can be found in the files COPYING and README.
11 # This program is free software; you can redistribute it and/or modify
12 # it under the terms of the GNU General Public License as published by
13 # the Free Software Foundation; version 2 of the License. A copy of the
14 # GNU General Public License can be found in the file COPYING.
15 # --- SDE-COPYRIGHT-NOTE-END ---
17 autoextract=0
18 makeopt=
19 makeinstopt=
21 prefix=opt/$pkg
22 set_confopt
24 tomcat_extract() {
25         for file in `match_source_file -p . `; do
26                 echo "extracting ${file##*/}..."
27                 tar -v $taropt $file
28         done
31 tomcat_install() {
32         ( cd $builddir/apache-tomcat-$ver; tar -c * | tar -x -C $root/$prefix )
35 hook_add premake  5 'tomcat_extract'
36 hook_add postmake 5 'tomcat_install'