SliTaz Packages

Community Doc Forum Pro Shop Bugs Hg
.

Receipt for package "xine-plugin"

# SliTaz package receipt.

PACKAGE="xine-plugin"
VERSION="1.0.2"
CATEGORY="multimedia"
SHORT_DESC="Xine media player firefox plugin."
MAINTAINER="pankso@slitaz.org"
DEPENDS="xine-lib firefox"
BUILD_DEPENDS="xine-lib xine-lib-dev xorg-dev"
TARBALL="$PACKAGE-$VERSION.tar.bz2"
WEB_SITE="http://www.xinehq.de/"
WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"

# Rules to configure and make the package.
compile_rules()
{
    cd $src
    ./configure --prefix=/usr \
    --mandir=/usr/share/man $CONFIGURE_ARGS &&
    make &&
    make DESTDIR=$PWD/_pkg install
}

# Rules to gen a SliTaz package suitable for Tazpkg.
genpkg_rules()
{
    mkdir -p $fs/usr/share/xine
    cp -a $_pkg/root/.mozilla/plugins/xineplugin.so $fs/usr/share/xine
}

# Pre and post install commands for Tazpkg.
post_install()
{
    ln -s /usr/share/xine/xineplugin.so $1/usr/lib/firefox-*/plugins/
    ln -s /usr/share/xine/xineplugin.so $1/usr/lib/mozilla/plugins/
}
3382 packages and 430813 files in stable database (Mon Mar 4 17:53:49 2019)