wok-next annotate xine-plugin/receipt @ rev 20558

openmotif: fix syntax error in receipt
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Apr 07 16:14:50 2018 +0300 (2018-04-07)
parents 9e01bc6321ea
children 10df65db91ad
rev   line source
al@20475 1 # SliTaz package receipt v2.
pascal@1653 2
pascal@1653 3 PACKAGE="xine-plugin"
pascal@1653 4 VERSION="1.0.2"
pascal@1653 5 CATEGORY="multimedia"
al@20475 6 SHORT_DESC="Xine media player Firefox plugin"
pascal@1653 7 MAINTAINER="pankso@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
al@20475 9 WEB_SITE="http://www.xinehq.de/"
al@20475 10
pascal@1653 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
al@20475 12 WGET_URL="$SF_MIRROR/xine/$TARBALL"
pascal@1653 13
al@20475 14 BUILD_DEPENDS="xine-lib xine-lib-dev xorg-dev gfortran"
pascal@15000 15
al@20475 16 compile_rules() {
pascal@15264 17 mkdir -p $DESTDIR/root/.mozilla/plugins
al@20475 18 ./configure $CONFIGURE_ARGS &&
pascal@1653 19 make &&
al@20475 20 make DESTDIR=$DESTDIR install || return 1
al@20475 21
al@20475 22 mkdir -p $install/usr/share/xine
al@20475 23 mv $install/root/.mozilla/plugins/* $install/usr/share/xine/
al@20475 24 rm -r $install/root/.mozilla/plugins/
pascal@1653 25 }
pascal@1653 26
al@20475 27 genpkg_rules() {
al@20475 28 copy *.so
al@20475 29 DEPENDS="xine-lib firefox"
pascal@1653 30 }
pascal@1653 31
al@20475 32 post_install() {
pascal@18730 33 ln -s /usr/share/xine/xineplugin.so "$1"/usr/lib/firefox-*/plugins/
pascal@18730 34 ln -s /usr/share/xine/xineplugin.so "$1/usr/lib/mozilla/plugins/"
pascal@1653 35 }