wok-next annotate xfce4-mixer/receipt @ rev 15203

linux: update boot sector
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Sep 08 22:26:29 2013 +0000 (2013-09-08)
parents 3dad282b916d
children 497781d172cd
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"
pascal@15000 8 LICENSE="GPL2"
erjo@4140 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@4140 10 WEB_SITE="http://www.xfce.org"
slaxemulator@8045 11 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@4140 12
erjo@9989 13 DEPENDS="gtk+ libxfce4util gtk+ xfconf xfce4-panel gst-plugins-base startup-notification
pankso@12481 14 util-linux-uuid"
erjo@9989 15 BUILD_DEPENDS="gtk+-dev libxfce4util-dev xfconf-dev xfce4-panel-dev
erjo@9989 16 gst-plugins-base-dev intltool libxfce4ui-dev gstreamer-dev startup-notification-dev \
pascal@12642 17 util-linux-uuid-dev libxml2-dev"
erjo@9989 18
erjo@4140 19 # Rules to configure and make the package.
erjo@4140 20 compile_rules()
erjo@4140 21 {
erjo@4140 22 cd $src
erjo@4140 23 ./configure --prefix=/usr \
erjo@9989 24 --libexecdir=/usr/lib/$PACKAGE $CONFIGURE_ARGS && \
erjo@9989 25 make && make DESTDIR=$DESTDIR install
erjo@4140 26 }
erjo@4140 27
erjo@4140 28 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@4140 29 genpkg_rules()
erjo@4140 30 {
erjo@4140 31 mkdir -p $fs/usr \
erjo@4140 32 $fs/usr/lib \
erjo@4140 33 $fs/usr/share/locale
erjo@4140 34
erjo@4140 35
pascal@15000 36 cp -a $install/usr/bin $fs/usr
pascal@15000 37 cp -a $install/usr/lib/$PACKAGE $fs/usr/lib
pascal@15000 38 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
pascal@15000 39 cp -a $install/usr/share/xfce4 $fs/usr/share
pascal@15000 40 cp -a $install/usr/share/pixmaps $fs/usr/share
pascal@15000 41 cp -a $install/usr/share/xfce4-mixer $fs/usr/share
erjo@4140 42
erjo@4140 43 rm -rf $fs/usr/share/xfce4-mixer/icons/hicolor/scalable
erjo@4875 44
erjo@4875 45 # Strip evrythings
erjo@4875 46 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
erjo@4140 47 }