#!/bin/sh

name="xmms-infopipe"
title="XMMS InfoPipe"
package="xmms-infopipe"
version="1.3"
build="1"
noarch="n"
build_info="Standard build."

info="Provides XMMS status through named pipe."
desc="XMMS InfoPipe is a plug-in that reports XMMS status via named pipe.
Handy if you want to add interesting real-time information for a
personal web page, or a web cam page."
category="viewer/plugin"
environment="library"
contact="$name@packages.packware.gnu.pl"
vendor="The Packware Project"
vendor_id="pw"

requires=""
obsoletes=""
conflicts=""

docs_source="AUTHORS,COPYING,ChangeLog,INSTALL,NEWS,README,applications/*.pl,applications/*.php"
docs_cwd=""

strip_bin="y"
reset_own="y"
reset_dir="y"
reset_fil="y"
delete_cat="y"

. /usr/src/tgz/lib/builder.defs

add_source http://www.beastwithin.org/users/wwwwolf/code/xmms/$name-$version.tar.gz

apply_patch xmms-general-infopipe-tmpdir.patch 1

configure_option --prefix=/usr
install_option DESTDIR=$pkg_main

parent_package="$package"
write_info main

cd $src1

do_configure
do_make
do_install

# No need to leave it here.
rm -f $pkg_main/usr/lib/xmms/General/*a

make_docs

make_package main

clean_up
