1 # --- T2-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # T2 SDE: package/.../jboss-as/jboss-as.conf
5 # Copyright (C) 2004 - 2006 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This program is free software; you can redistribute it and/or modify
10 # it under the terms of the GNU General Public License as published by
11 # the Free Software Foundation; version 2 of the License. A copy of the
12 # GNU General Public License can be found in the file COPYING.
13 # --- T2-COPYRIGHT-NOTE-END ---
15 # Prevent executing normal make and install build steps.
16 # This package has custom make and install.
20 # Check if a java development kit was installed. Unfortunately
21 # JBoss seems to use special sun classes that are no available
22 # in the IBM jdk. So we are forced to check for the availability
24 pkgprefix -t sun-jdk-150
27 export JBOSS_HOME=$root/$prefix
29 # Custom package building and installation.
32 ( cd build; sh build.sh )
34 # Something went wrong.
35 abort "Building $pkg failed."
39 # After building we have to copy the build results to
40 # the installation directory ($prefix). We also have
41 # to make sure to preserve any existing links.
42 buildoutput=$builddir/jboss-$ver-src/build/output/jboss-$ver/
43 ( cd $buildoutput; tar -c * | tar -x -C $JBOSS_HOME )
46 hook_add postmake 5 jboss_postmake