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

Added zh_CN.UTF-8 to xorg-libX11.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Nov 14 03:39:02 2010 +0000 (2010-11-14)
parents 5c000a3bef47
children 02bbaa9d12ba
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 strip $fs/usr/share/xine/xineplugin.so
pascal@1653 30 }
pascal@1653 31
pascal@1653 32 # Pre and post install commands for Tazpkg.
pascal@1653 33 post_install()
pascal@1653 34 {
pascal@1653 35 ln -s /usr/share/xine/xineplugin.so $1/usr/lib/firefox-*/plugins/
pascal@1653 36 }