wok-next annotate parole/receipt @ rev 8963

Up: sudo to 1.8.0.
author Christopher Rogers <slaxemulator@gmail.com>
date Tue Mar 01 23:59:45 2011 +0000 (2011-03-01)
parents f3327707164a
children e06c07bd8d46
rev   line source
erjo@4868 1 # SliTaz package receipt.
erjo@4868 2
erjo@4868 3 PACKAGE="parole"
erjo@4868 4 VERSION="0.2.0.2"
erjo@4868 5 CATEGORY="multimedia"
erjo@4868 6 SHORT_DESC="Media Player for Xfce."
erjo@4868 7 MAINTAINER="erjo@slitaz.org"
pascal@5005 8 DEPENDS="libxfcegui4 libxfce4util dbus-glib libgio gst-plugins-base taglib \
pascal@5005 9 startup-notification libnotify"
gokhlayeh@8885 10 BUILD_DEPENDS="intltool"
erjo@4868 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@4868 12 WEB_SITE="http://goodies.xfce.org/projects/applications/parole"
erjo@4868 13 WGET_URL="http://archive.xfce.org/src/apps/parole/0.2/$TARBALL"
erjo@4868 14
erjo@4868 15 # Rules to configure and make the package.
erjo@4868 16 compile_rules()
erjo@4868 17 {
erjo@4868 18 cd $src
erjo@4868 19 ./configure \
erjo@4868 20 --prefix=/usr \
erjo@4868 21 --libexecdir=/usr/lib/$PACKAGE \
erjo@4868 22 --disable-debug \
erjo@4868 23 --disable-power-manager-plugin \
erjo@4868 24 $CONFIGURE_ARGS &&
erjo@4868 25 make && make DESTDIR=$PWD/_pkg install
erjo@4868 26 }
erjo@4868 27
erjo@4868 28 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4868 29 genpkg_rules()
erjo@4868 30 {
erjo@4868 31 mkdir -p $fs/usr/share/icons \
erjo@4868 32 $fs/usr/share/pixmaps
erjo@4868 33
erjo@4868 34 cp -a $_pkg/usr/bin $fs/usr
erjo@4868 35 cp -a $_pkg/usr/lib $fs/usr
erjo@4868 36 cp -a $_pkg/usr/share/icons/hicolor $fs/usr/share/icons
erjo@4868 37 cp -a $_pkg/usr/share/parole $fs/usr/share
erjo@4868 38
erjo@4868 39 cd $fs/usr/share/pixmaps ; ln -s ../icons/hicolor/32x32/apps/$PACKAGE.png ; cd -
erjo@4868 40
erjo@4868 41 # Clean-up & strip
erjo@4868 42 rm -rf $fs/usr/share/icons/hicolor/scalable
erjo@4868 43 find $fs/usr/lib -exec strip -s {} 2> /dev/null \;
erjo@4868 44
erjo@4868 45
erjo@4868 46 }
erjo@4868 47