wok-6.x annotate xine-plugin/receipt @ rev 12840

dialog: cross-compile for ARM
author Christophe Lincoln <pankso@slitaz.org>
date Wed May 23 01:33:30 2012 +0200 (2012-05-23)
parents 02bbaa9d12ba
children 380ffe05937a
rev   line source
pascal@1653 1 # SliTaz package receipt.
pascal@1653 2
pascal@1653 3 PACKAGE="xine-plugin"
pascal@1653 4 VERSION="1.0.2"
pascal@1653 5 CATEGORY="multimedia"
pascal@1653 6 SHORT_DESC="Xine media player firefox plugin."
pascal@1653 7 MAINTAINER="pankso@slitaz.org"
pankso@3163 8 DEPENDS="xine-lib firefox"
pankso@3163 9 BUILD_DEPENDS="xine-lib xine-lib-dev xorg-dev"
pascal@1653 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@1653 11 WEB_SITE="http://www.xinehq.de/"
pascal@1653 12 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL"
pascal@1653 13
pascal@1653 14 # Rules to configure and make the package.
pascal@1653 15 compile_rules()
pascal@1653 16 {
pascal@1653 17 cd $src
pascal@1653 18 ./configure --prefix=/usr \
pascal@1653 19 --mandir=/usr/share/man $CONFIGURE_ARGS &&
pascal@1653 20 make &&
pascal@1653 21 make DESTDIR=$PWD/_pkg install
pascal@1653 22 }
pascal@1653 23
pascal@1653 24 # Rules to gen a SliTaz package suitable for Tazpkg.
pascal@1653 25 genpkg_rules()
pascal@1653 26 {
pascal@1653 27 mkdir -p $fs/usr/share/xine
pascal@1653 28 cp -a $_pkg/root/.mozilla/plugins/xineplugin.so $fs/usr/share/xine
pascal@1653 29 }
pascal@1653 30
pascal@1653 31 # Pre and post install commands for Tazpkg.
pascal@1653 32 post_install()
pascal@1653 33 {
pascal@1653 34 ln -s /usr/share/xine/xineplugin.so $1/usr/lib/firefox-*/plugins/
pascal@11018 35 ln -s /usr/share/xine/xineplugin.so $1/usr/lib/mozilla/plugins/
pascal@1653 36 }