[PC-BSD Commits] r13142 - in pbi/modules/net-im/skype-devel: . resources resources/bin scripts

svn at pcbsd.org svn at pcbsd.org
Wed Oct 5 07:38:14 PDT 2011


Author: kenmoore
Date: 2011-10-05 07:38:14 -0700 (Wed, 05 Oct 2011)
New Revision: 13142

Added:
   pbi/modules/net-im/skype-devel/resources/bin/
   pbi/modules/net-im/skype-devel/resources/bin/skype.sh
Modified:
   pbi/modules/net-im/skype-devel/external-links
   pbi/modules/net-im/skype-devel/pbi.conf
   pbi/modules/net-im/skype-devel/scripts/post-install.sh
Log:
Add a wrapper script for skype devel to fix linking to a library on start, and rebuild


Modified: pbi/modules/net-im/skype-devel/external-links
===================================================================
--- pbi/modules/net-im/skype-devel/external-links	2011-10-05 14:07:13 UTC (rev 13141)
+++ pbi/modules/net-im/skype-devel/external-links	2011-10-05 14:38:14 UTC (rev 13142)
@@ -9,3 +9,4 @@
 #bin/appfoo             bin/appfoo              binary,nocrash
 #bin/appfoo2            bin/appfoo-test         binary
 
+bin/skype.sh		bin/skype.sh		binary

Modified: pbi/modules/net-im/skype-devel/pbi.conf
===================================================================
--- pbi/modules/net-im/skype-devel/pbi.conf	2011-10-05 14:07:13 UTC (rev 13141)
+++ pbi/modules/net-im/skype-devel/pbi.conf	2011-10-05 14:38:14 UTC (rev 13142)
@@ -21,7 +21,7 @@
 # The target port we are building
 PBI_MAKEPORT="net-im/skype-devel"
 
-PBI_BUILDKEY="01"; export PBI_BUILDKEY
+PBI_BUILDKEY="02"; export PBI_BUILDKEY
 
 PBI_AB_PRIORITY="30"; export PBI_AB_PRIORITY
  

Modified: pbi/modules/net-im/skype-devel/scripts/post-install.sh
===================================================================
--- pbi/modules/net-im/skype-devel/scripts/post-install.sh	2011-10-05 14:07:13 UTC (rev 13141)
+++ pbi/modules/net-im/skype-devel/scripts/post-install.sh	2011-10-05 14:38:14 UTC (rev 13142)
@@ -1,3 +1,8 @@
 #!/bin/sh
 
 rm ${PBI_PROGDIRPATH}/lib/libgcc_s.so.1
+
+#Fix the CHANGEME in the wrapper script
+sed -i.bak "s,CHANGEME,${PBI_PROGDIRPATH},g" ${PBI_PROGDIRPATH}/bin/skype.sh
+
+chmod 755 ${PBI_PROGDIRPATH}/bin/skype.sh



More information about the Commits mailing list