Update of /cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel
In directory sfp-cvsdas-3.v30.ch3.sourceforge.com:/tmp/cvs-serv8207

Modified Files:
        ppl.info 
Log Message:
Fix to work on both new and old java. Should add a BuildDepends on 
system-java-dev once there is a released fink that recognizes the new java.


Index: ppl.info
===================================================================
RCS file: /cvsroot/fink/dists/10.4/unstable/main/finkinfo/devel/ppl.info,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- ppl.info    20 Sep 2009 20:28:41 -0000      1.7
+++ ppl.info    23 Oct 2010 00:26:08 -0000      1.8
@@ -4,6 +4,8 @@
 Distribution: 10.5, 10.6
 BuildDependsOnly: True
 Depends: %N-shlibs (= %v-%r)
+# We should really depend on system-java-dev but there's no point until
+# there's a released fink that works with the new java.
 BuildDepends: gcc4.2, gmp (>= 4.2.4-1000), fink (>= 0.28)
 GCC: 4.0
 SetCC: gcc-4.2
@@ -11,6 +13,15 @@
 Source: ftp://ftp.cs.unipr.it/pub/%n/releases/%v/%n-%v.tar.bz2
 Source-MD5: 5667111f53150618b0fa522ffc53fc3e
 ConfigureParams: --mandir=%p/share/man
+CompileScript: <<
+       #!/bin/bash -ev
+       if [ -e /usr/libexec/java_home ]; then
+               ./configure %c --with-java=`/usr/libexec/java_home`
+       else
+               ./configure %c
+       fi
+       make
+<<
 InstallScript: make install DESTDIR=%d
 SplitOff: <<
   Package: %N-shlibs
@@ -45,6 +56,8 @@
 DescPackaging: <<
 Reminder to never move %p/lib/ppl from ppl-shlibs since it
 brings over private .la as well as private shared lib.
+
+Added CompileScript to deal with Apple's new java.
 <<
 Homepage: http://www.cs.unipr.it/ppl
 Maintainer: None <[email protected]>


------------------------------------------------------------------------------
Nokia and AT&T present the 2010 Calling All Innovators-North America contest
Create new apps & games for the Nokia N8 for consumers in  U.S. and Canada
$10 million total in prizes - $4M cash, 500 devices, nearly $6M in marketing
Develop with Nokia Qt SDK, Web Runtime, or Java and Publish to Ovi Store 
http://p.sf.net/sfu/nokia-dev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs

Reply via email to