mirror of the now-defunct rocklinux.org
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

16 lines
285 B

  1. #!/bin/bash
  2. prefix="opt/$pkg"
  3. set_confopt
  4. custmain=custmain
  5. custmain() {
  6. tar $taropt $archdir/Xerces-J-tools*.bz2
  7. sh build.sh jars
  8. mkdir -p $root/$prefix
  9. cp -a build/* $root/$prefix
  10. cat <<- EOT > $root/etc/profile.d/$pkg
  11. CLASSPATH="\$CLASSPATH\${CLASSPATH+:}/$prefix"
  12. EOT
  13. }