After reviewing some recipes for binary apps, I realized that some
steps are going to be required in order to accept them:

1) everything specific to a given architecture shall be inside its
arch subdir. This includes url=, file=, file_md5=, file_size= and any
functions dealing with specific tarball contents that might change
from one architecture's tarball to another
2) submitters should append an extra '_bin' string to the application's version.
3) distribution license must be filled in Resouces/Description. If the
license is unknown, Resources/Description should set it as "[License]
Other", and a file named Resources/COPYING should contain the license
in question.

"Known licenses" are those found in these 2 urls:
http://www.opensource.org/licenses/alphabetical
http://www.fsf.org/licensing/licenses/

As an example, this is how Java-JRE recipe looks like:


Sun-JDK/1.6.0_01_bin] find .
./i686
./i686/Recipe
./Recipe
./Resources
./Resources/BuildInformation
./Resources/COPYING
./Resources/Dependencies
./Resources/Description
./Resources/Environment


####################
 Recipe
####################
# Recipe for JDK version 1.6.0 by Mike Hughes
compile_version=1.8.2
uncompress=no
recipe_type=manifest

pre_install() {
  cd jdk1.6.0_01
  cp -R ./* "$target"
}


####################
 i686/Recipe
####################
url="http://www.cs.wcupa.edu/~rkline/anonftp/general/jdk-6u1-linux-i586.bin";
file_md5=bbfb5171c9120a8be2f37ebeba023e29
file_size=62772481

pre_patch() {
  chmod +x jdk-6u1-linux-i586.bin
  ./jdk-6u1-linux-i586.bin
}

post_install() {
  # for the Firefox plugin
  mkdir -p $target/lib/mozilla/plugins
  ln -s "$target/jre/plugin/i386/ns7/libjavaplugin_oji.so"
"$target/lib/mozilla/plugins/libjavaplugin_oji.so"
}


####################
 Resources/Description
####################
[Name] Sun JDK 6
[Summary] The Java SE Development Kit (JDK) includes the Java Runtime
Environment (JRE) and command-line development tools that are useful
for developing applets and applications.
[License] Sun Microsystems, Inc. Binary Code License Agreement
[Description]
[Homepage] http://java.sun.com/


Thanks,

-- 
Lucas
powered by /dev/dsp
_______________________________________________
gobolinux-devel mailing list
gobolinux-devel@lists.gobolinux.org
http://lists.gobolinux.org/mailman/listinfo/gobolinux-devel

Reply via email to