wok annotate xfmedia/receipt @ rev 4887

Add: xfmedia
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Feb 06 00:49:18 2010 +0100 (2010-02-06)
parents
children 413b0174114a
rev   line source
erjo@4887 1 # SliTaz package receipt.
erjo@4887 2
erjo@4887 3 PACKAGE="xfmedia"
erjo@4887 4 VERSION="0.9.2"
erjo@4887 5 CATEGORY="multimedia"
erjo@4887 6 SHORT_DESC="Xfce Media Player"
erjo@4887 7 MAINTAINER="erjo@slitaz.org"
erjo@4887 8 DEPENDS="libxfcegui4 libexo xine-lib"
erjo@4887 9 DEPENDS="libxfcegui4-dev libexo-dev xine-lib-dev"
erjo@4887 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@4887 11 WEB_SITE="http://spuriousinterrupt.org/projects/xfmedia"
erjo@4887 12 WGET_URL="http://spuriousinterrupt.org/files/xfmedia/xfmedia-0.9.2.tar.bz2"
erjo@4887 13
erjo@4887 14 # Rules to configure and make the package.
erjo@4887 15 compile_rules()
erjo@4887 16 {
erjo@4887 17 cd $src
erjo@4887 18 ./configure \
erjo@4887 19 --prefix=/usr \
erjo@4887 20 --sysconfdir=/etc \
erjo@4887 21 --enable-exo \
erjo@4887 22 --disable-startup-notification \
erjo@4887 23 $CONFIGURE_ARGS &&
erjo@4887 24 make && make DESTDIR=$PWD/_pkg install
erjo@4887 25 }
erjo@4887 26
erjo@4887 27 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4887 28 genpkg_rules()
erjo@4887 29 {
erjo@4887 30 mkdir -p $fs/usr/share
erjo@4887 31
erjo@4887 32 cp -a $_pkg/usr/bin $fs/usr
erjo@4887 33 cp -a $_pkg/etc $fs/
erjo@4887 34 cp -a $_pkg/usr/share/icons $fs/usr/share
erjo@4887 35 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
erjo@4887 36
erjo@4887 37 # Clean up
erjo@4887 38 find $fs/usr/lib -name "*.*a" -exec rm -f {} \;
erjo@4887 39 rm -f $fs/usr/bin/*-remote
erjo@4887 40
erjo@4887 41 # Strip evrythings
erjo@4887 42 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
erjo@4887 43 }
erjo@4887 44