wok-6.x annotate xfce4-mixer/receipt @ rev 9935

knock: fix bdeps
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed May 18 00:41:58 2011 +0200 (2011-05-18)
parents fe2fd41e6103
children a049d48a3c4c
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 DEPENDS="gtk+ libxfce4util gtk+ xfconf xfce4-panel gst-plugins-base"
erjo@4140 9 BUILD_DEPENDS="gtk+-dev libxfce4util-dev libxfcegui4 xfconf-dev xfce4-panel-dev
slaxemulator@8900 10 gst-plugins-base-dev intltool"
erjo@4140 11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@4140 12 WEB_SITE="http://www.xfce.org"
slaxemulator@8045 13 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@4140 14
erjo@4140 15 # Rules to configure and make the package.
erjo@4140 16 compile_rules()
erjo@4140 17 {
erjo@4140 18 cd $src
erjo@4140 19 ./configure --prefix=/usr \
erjo@4140 20 --infodir=/usr/share/info \
pascal@4219 21 --libexecdir=/usr/lib/$PACKAGE \
erjo@4140 22 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@4140 23 make && make DESTDIR=$PWD/_pkg install
erjo@4140 24 }
erjo@4140 25
erjo@4140 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4140 27 genpkg_rules()
erjo@4140 28 {
erjo@4140 29 mkdir -p $fs/usr \
erjo@4140 30 $fs/usr/lib \
erjo@4140 31 $fs/usr/share/locale
erjo@4140 32
erjo@4140 33
erjo@4140 34 cp -a $_pkg/usr/bin $fs/usr
pascal@4219 35 cp -a $_pkg/usr/lib/$PACKAGE $fs/usr/lib
erjo@4140 36 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
erjo@4140 37 cp -a $_pkg/usr/share/xfce4 $fs/usr/share
erjo@4140 38 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
erjo@4140 39 cp -a $_pkg/usr/share/xfce4-mixer $fs/usr/share
erjo@4140 40
erjo@4140 41 rm -rf $fs/usr/share/xfce4-mixer/icons/hicolor/scalable
erjo@4875 42
erjo@4875 43 # Strip evrythings
erjo@4875 44 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
erjo@4140 45 }