# HG changeset patch # User Eric Joseph-Alexandre # Date 1265413758 -3600 # Node ID ade00a9df253325eaf81ced1b4660f6c9c7bb65d # Parent b03684d53662be8783e0e25adeacd0428f47cea4 Add: xfmedia diff -r b03684d53662 -r ade00a9df253 xfmedia/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/xfmedia/receipt Sat Feb 06 00:49:18 2010 +0100 @@ -0,0 +1,44 @@ +# SliTaz package receipt. + +PACKAGE="xfmedia" +VERSION="0.9.2" +CATEGORY="multimedia" +SHORT_DESC="Xfce Media Player" +MAINTAINER="erjo@slitaz.org" +DEPENDS="libxfcegui4 libexo xine-lib" +DEPENDS="libxfcegui4-dev libexo-dev xine-lib-dev" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WEB_SITE="http://spuriousinterrupt.org/projects/xfmedia" +WGET_URL="http://spuriousinterrupt.org/files/xfmedia/xfmedia-0.9.2.tar.bz2" + +# Rules to configure and make the package. +compile_rules() +{ + cd $src + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + --enable-exo \ + --disable-startup-notification \ + $CONFIGURE_ARGS && + make && make DESTDIR=$PWD/_pkg install +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + mkdir -p $fs/usr/share + + cp -a $_pkg/usr/bin $fs/usr + cp -a $_pkg/etc $fs/ + cp -a $_pkg/usr/share/icons $fs/usr/share + cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib + + # Clean up + find $fs/usr/lib -name "*.*a" -exec rm -f {} \; + rm -f $fs/usr/bin/*-remote + + # Strip evrythings + find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \; +} +