wok-stable annotate xfmedia/receipt @ rev 6752
Up: mtools to 4.0.14.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Sun Oct 17 17:51:13 2010 +0000 (2010-10-17) |
parents | 9882a0d23d21 |
children | 2b9fa6d380f7 |
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" |
devl547@5816 | 9 BUILD_DEPENDS="libxfcegui4-dev libexo-dev xine-lib-dev xorg-libXss-dev \ |
pascal@5855 | 10 xorg-scrnsaverproto xcb-util-dev util-linux-ng-uuid-dev" |
erjo@4887 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@4887 | 12 WEB_SITE="http://spuriousinterrupt.org/projects/xfmedia" |
erjo@4887 | 13 WGET_URL="http://spuriousinterrupt.org/files/xfmedia/xfmedia-0.9.2.tar.bz2" |
erjo@4887 | 14 |
erjo@4887 | 15 # Rules to configure and make the package. |
erjo@4887 | 16 compile_rules() |
erjo@4887 | 17 { |
erjo@4887 | 18 cd $src |
erjo@4887 | 19 ./configure \ |
erjo@4887 | 20 --prefix=/usr \ |
erjo@4887 | 21 --sysconfdir=/etc \ |
erjo@4887 | 22 --enable-exo \ |
erjo@4887 | 23 --disable-startup-notification \ |
pascal@5856 | 24 $CONFIGURE_ARGS || return 1 |
pascal@5856 | 25 sed -i 's/define HAVE_XSCREENSAVER_EXTENSION .*/undef HAVE_XSCREENSAVER_EXTENSION/' config.h |
erjo@4887 | 26 make && make DESTDIR=$PWD/_pkg install |
erjo@4887 | 27 } |
erjo@4887 | 28 |
erjo@4887 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@4887 | 30 genpkg_rules() |
erjo@4887 | 31 { |
erjo@4887 | 32 mkdir -p $fs/usr/share |
erjo@4887 | 33 |
erjo@4887 | 34 cp -a $_pkg/usr/bin $fs/usr |
erjo@4887 | 35 cp -a $_pkg/etc $fs/ |
erjo@4887 | 36 cp -a $_pkg/usr/share/icons $fs/usr/share |
erjo@4887 | 37 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib |
erjo@4887 | 38 |
erjo@4887 | 39 # Clean up |
erjo@4887 | 40 find $fs/usr/lib -name "*.*a" -exec rm -f {} \; |
erjo@4887 | 41 rm -f $fs/usr/bin/*-remote |
erjo@4887 | 42 |
erjo@4887 | 43 # Strip evrythings |
erjo@4887 | 44 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \; |
erjo@4887 | 45 } |
erjo@4887 | 46 |