4593464 [rkeene@sledge /home/rkeene/projects/build]$ cat mplayerplug-in.txt
# RUNTIME REQUIREMENT: MPlayer
# RUNTIME REQUIREMENT: mozilla

MOZDIR="/`grep '^usr/lib/mozilla' /var/adm/packages/mozilla-plugins-* | head -1`"
export MOZDIR

./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var || exit 1
make || exit 1
cat <<EOF >install-scp.sh
#! /bin/sh

if [ ! -d "${MOZDIR}/plugins" ]; then mkdir "${MOZDIR}/plugins"; fi
cp mplayerplug-in.so "${MOZDIR}/plugins"
if [ ! -d "${MOZDIR}/components" ]; then mkdir "${MOZDIR}/components"; fi
cp Source/nsIScriptableMplayerPlugin.xpt "${MOZDIR}/components/mplayerplug-in.xpt"
EOF

chmod +x install-scp.sh

${installmonitor} ./install-scp.sh || exit 1
4593465 [rkeene@sledge /home/rkeene/projects/build]$

Click here to go back to the directory listing.
Click here to download this file.
last modified: 2012-05-07 00:52:06