Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

Add a wrapper script for audio/pacpl that fixes the perl include path…

…s and rebuild
  • Loading branch information...
commit c964c11a2efbbd837e4e79b290ebf66d747d7ecf 1 parent 69a2140
@beanpole135 beanpole135 authored
View
8 modules/audio/pacpl/external-links
@@ -0,0 +1,8 @@
+# Files to be Sym-Linked into the default LOCALBASE
+# One per-line, relative to %%PBI_APPDIR%% and LOCALBASE
+# Defaults to keeping any existing files in LOCALBASE
+# Use action "binary" for binaries that need wrapper functionality
+
+# TARGET LINK IN LOCALBASE ACTION
+bin/pacpl.sh bin/pacpl.sh binary,nocrash
+bin/pacpl bin/pacpl binary,nocrash
View
16 modules/audio/pacpl/pbi.conf 100755 → 100644
@@ -1,11 +1,23 @@
#!/bin/sh
+# PBI Build Configuration
+
+# -- Program Information --
PBI_PROGNAME="pacpl"
PBI_PROGWEB="http://pacpl.sourceforge.net/"
PBI_PROGAUTHOR="perl@FreeBSD.org"
PBI_PROGICON="defaulticon.png"
+
+# -- Port Information --
PBI_MAKEPORT="audio/pacpl"
PBI_MKPORTBEFORE=""
PBI_MKPORTAFTER=""
PBI_MAKEOPTS=""
-PBI_BUILDKEY="01"; export PBI_BUILDKEY
-export PBI_MAKEOPTS PBI_PROGNAME PBI_PROGWEB PBI_PROGAUTHOR PBI_MKPORTBEFORE PBI_MKPORTAFTER PBI_PROGICON PBI_MAKEPORT
+
+# -- Require Root Permissions to Install PBI --
+PBI_REQUIRESROOT="NO"
+# -- Auto-build Configuration Options --
+PBI_BUILDKEY="02"
+PBI_AB_PRIORITY="00"
+PBI_AB_NOTMPFS="NO"
+
+export PBI_PROGNAME PBI_PROGWEB PBI_PROGAUTHOR PBI_PROGICON PBI_MAKEPORT PBI_MKPORTBEFORE PBI_MKPORTAFTER PBI_MAKEOPTS PBI_REQUIRESROOT PBI_BUILDKEY PBI_AB_PRIORITY PBI_NOTMPFS
View
13 modules/audio/pacpl/resources/bin/pacpl.sh
@@ -0,0 +1,13 @@
+#!/bin/sh
+#This is a sample wrapper script form generated by EasyPBI
+# REMINDER: Add this file to the external-links for the PBI as well!
+
+#Setup some internal script variables
+PROGDIR=`pwd | cut -d / -f 1-4` #Base PBI directory (/usr/pbi/myapplication-<arch>)
+APPBINARY=bin/pacpl #application binary
+
+DIR=`find ${PROGDIR} | grep Switch.pm`
+export PERL5LIB=${PERL5LIB}:`dirname ${DIR}`
+
+#Now start the main application
+${PROGDIR}/${APPBINARY} $@
Please sign in to comment.
Something went wrong with that request. Please try again.