wok-next view 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 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xine-plugin"
4 VERSION="1.0.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Xine media player Firefox plugin"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="http://www.xinehq.de/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/xine/$TARBALL"
14 BUILD_DEPENDS="xine-lib xine-lib-dev xorg-dev gfortran"
16 compile_rules() {
17 mkdir -p $DESTDIR/root/.mozilla/plugins
18 ./configure $CONFIGURE_ARGS &&
19 make &&
20 make DESTDIR=$DESTDIR install || return 1
22 mkdir -p $install/usr/share/xine
23 mv $install/root/.mozilla/plugins/* $install/usr/share/xine/
24 rm -r $install/root/.mozilla/plugins/
25 }
27 genpkg_rules() {
28 copy *.so
29 DEPENDS="xine-lib firefox"
30 }
32 post_install() {
33 ln -s /usr/share/xine/xineplugin.so "$1"/usr/lib/firefox-*/plugins/
34 ln -s /usr/share/xine/xineplugin.so "$1/usr/lib/mozilla/plugins/"
35 }