wok annotate xfce4-mixer/receipt @ rev 11992

bastet: new desktop icon
author Samuel Trassare <samuel_trassare@yahoo.com>
date Sat Mar 03 12:21:34 2012 -0800 (2012-03-03)
parents 839dc23905e0
children 73641efed1cc
rev   line source
erjo@4140 1 # SliTaz package receipt.
erjo@4140 2
erjo@4140 3 PACKAGE="xfce4-mixer"
slaxemulator@8900 4 VERSION="4.8.0"
erjo@4140 5 CATEGORY="x-window"
erjo@4140 6 SHORT_DESC="Xfce Audio Mixer"
erjo@4140 7 MAINTAINER="erjo@slitaz.org"
erjo@4140 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@4140 9 WEB_SITE="http://www.xfce.org"
slaxemulator@8045 10 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@4140 11
erjo@9989 12 DEPENDS="gtk+ libxfce4util gtk+ xfconf xfce4-panel gst-plugins-base startup-notification
erjo@9989 13 util-linux-ng-uuid"
erjo@9989 14 BUILD_DEPENDS="gtk+-dev libxfce4util-dev xfconf-dev xfce4-panel-dev
erjo@9989 15 gst-plugins-base-dev intltool libxfce4ui-dev gstreamer-dev startup-notification-dev \
erjo@9989 16 util-linux-ng-uuid-dev "
erjo@9989 17
erjo@4140 18 # Rules to configure and make the package.
erjo@4140 19 compile_rules()
erjo@4140 20 {
erjo@4140 21 cd $src
erjo@4140 22 ./configure --prefix=/usr \
erjo@9989 23 --libexecdir=/usr/lib/$PACKAGE $CONFIGURE_ARGS && \
erjo@9989 24 make && make DESTDIR=$DESTDIR install
erjo@4140 25 }
erjo@4140 26
erjo@4140 27 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4140 28 genpkg_rules()
erjo@4140 29 {
erjo@4140 30 mkdir -p $fs/usr \
erjo@4140 31 $fs/usr/lib \
erjo@4140 32 $fs/usr/share/locale
erjo@4140 33
erjo@4140 34
erjo@4140 35 cp -a $_pkg/usr/bin $fs/usr
pascal@4219 36 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
erjo@4140 37 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@4140 38 cp -a $_pkg/usr/share/xfce4 $fs/usr/share
erjo@4140 39 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
erjo@4140 40 cp -a $_pkg/usr/share/xfce4-mixer $fs/usr/share
erjo@4140 41
erjo@4140 42 rm -rf $fs/usr/share/xfce4-mixer/icons/hicolor/scalable
erjo@4875 43
erjo@4875 44 # Strip evrythings
erjo@4875 45 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
erjo@4140 46 }