|
|
|
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
|
|
|
|
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
|
|
|
|
#
|
|
|
|
# Filename: package/.../springframework/springframework.conf
|
|
|
|
# Copyright (C) 2007 - 2008 The OpenSDE Project
|
|
|
|
#
|
|
|
|
# More information can be found in the files COPYING and README.
|
|
|
|
#
|
|
|
|
# This program is free software; you can redistribute it and/or modify
|
|
|
|
# it under the terms of the GNU General Public License as published by
|
|
|
|
# the Free Software Foundation; version 2 of the License. A copy of the
|
|
|
|
# GNU General Public License can be found in the file COPYING.
|
|
|
|
# --- SDE-COPYRIGHT-NOTE-END ---
|
|
|
|
|
|
|
|
|
|
|
|
# Common java configuration is needed.
|
|
|
|
. $base/package/*/*/java-common-conf.in
|
|
|
|
|
|
|
|
# Prevent executing normal make and install build steps.
|
|
|
|
# this binary package does not follow the normal build
|
|
|
|
# commands: configure; make; make install.
|
|
|
|
makeopt=
|
|
|
|
makeinstopt=
|
|
|
|
|
|
|
|
# Custom installation.
|
|
|
|
spring_postmake() {
|
|
|
|
# Copy all java .jar files to the current prefix location.
|
|
|
|
( cd $builddir/spring-framework-${ver}/dist;
|
|
|
|
find . -name "*.jar" -exec cp '{}' $root/$prefix \;
|
|
|
|
)
|
|
|
|
|
|
|
|
# Copy documentation as well.
|
|
|
|
( cd $builddir/spring-framework-${ver}/docs;
|
|
|
|
tar -c * | tar -x -C $root/$docdir
|
|
|
|
)
|
|
|
|
}
|
|
|
|
|
|
|
|
hook_add postmake 5 spring_postmake
|
|
|
|
|