1 # Maintainer: walterjwhite
2 # Contributor: Walter White <WalterWhite@walterjwhite.com>
4 pkgname=oracle-bea-weblogic
7 pkgdesc="BEA Web Logic Server"
9 url="http://www.oracle.com/technetwork/middleware/weblogic/downloads/wls-main-097127.html"
10 license=('custom:OTN')
11 depends=('java-environment')
12 source=(http://download/file/from/oracle/page/server924_linux32.zip)
13 md5sums=('8572951aabd33916aebebb1ae99305f6')
14 sha256sums=('31a515e011165312dd2181a59cd89ede49ca6eb9a7e658f09ba100223c7eeac3')
17 echo "<?xml version=\"1.0\" encoding=\"UTF-8\"?>" > silent.xml
18 echo "<domain-template-descriptor>" >> silent.xml
19 echo -e "\t<input-fields>" >> silent.xml
20 echo -e "\t<data-value name=\"BEAHOME\" value=\"/tmp/weblogic\" />" >> silent.xml
21 echo -e "\t<data-value name=\"USER_INSTALL_DIR\" value=\"/tmp/weblogic/9.2.4\" />" >> silent.xml
22 echo -e "\t<data-value name=\"INSTALL_NODE_MANAGER_SERVICE\" value=\"no\" />" >> silent.xml
23 echo -e "\t<data-value name=\"COMPONENT_PATHS\" value=\"WebLogic Server|WebLogic Workshop|WebLogic Integration|WebLogic Portal\" />" >> silent.xml
24 echo -e "\t</input-fields> " >> silent.xml
25 echo -e "</domain-template-descriptor>" >> silent.xml
27 chmod +x server924_linux32.bin
28 ./server924_linux32.bin -mode=silent -silent_xml=silent.xml
32 find . -type f -exec install -Dm644 "{}" "$pkgdir/opt/bea/{}" \;