wok annotate xfmedia/receipt @ rev 5174

Up: slitaz-tools (3.7) Improvments, po update, fixes
author Christophe Lincoln <pankso@slitaz.org>
date Sat Mar 27 01:19:18 2010 +0100 (2010-03-27)
parents 413b0174114a
children 9b0c22fa1d70
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"
pascal@5008 8 DEPENDS="libxfcegui4 libexo xine-lib xorg-libXss xorg-libXtst taglib"
pascal@5032 9 BUILD_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