wok annotate xine-plugin/receipt @ rev 24004
Up tazinst (110)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Jan 17 17:23:12 2021 +0000 (2021-01-17) |
parents | 18af472aef2e |
children | 3105f866bc3e |
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" |
pascal@15000 | 8 LICENSE="GPL2" |
pascal@1653 | 9 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@1653 | 10 WEB_SITE="http://www.xinehq.de/" |
pascal@1653 | 11 WGET_URL="http://switch.dl.sourceforge.net/sourceforge/xine/$TARBALL" |
pascal@1653 | 12 |
pascal@15000 | 13 DEPENDS="xine-lib firefox" |
pascal@15000 | 14 BUILD_DEPENDS="xine-lib xine-lib-dev xorg-dev" |
pascal@15000 | 15 |
pascal@1653 | 16 # Rules to configure and make the package. |
pascal@1653 | 17 compile_rules() |
pascal@1653 | 18 { |
pascal@1653 | 19 cd $src |
pascal@15264 | 20 mkdir -p $DESTDIR/root/.mozilla/plugins |
pascal@1653 | 21 ./configure --prefix=/usr \ |
pascal@1653 | 22 --mandir=/usr/share/man $CONFIGURE_ARGS && |
pascal@1653 | 23 make && |
pascal@15000 | 24 make DESTDIR=$DESTDIR install |
pascal@1653 | 25 } |
pascal@1653 | 26 |
pascal@1653 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@1653 | 28 genpkg_rules() |
pascal@1653 | 29 { |
pascal@1653 | 30 mkdir -p $fs/usr/share/xine |
pascal@15629 | 31 find $install -name xineplugin.so -exec cp -a {} $fs/usr/share/xine \; |
pascal@1653 | 32 } |
pascal@1653 | 33 |
pascal@1653 | 34 # Pre and post install commands for Tazpkg. |
pascal@1653 | 35 post_install() |
pascal@1653 | 36 { |
pascal@18730 | 37 ln -s /usr/share/xine/xineplugin.so "$1"/usr/lib/firefox-*/plugins/ |
pascal@18730 | 38 ln -s /usr/share/xine/xineplugin.so "$1/usr/lib/mozilla/plugins/" |
pascal@1653 | 39 } |