wok-current view xfce4-mixer/receipt @ rev 19774
some *-dev depend on pkg-config
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Feb 21 15:50:51 2017 +0100 (2017-02-21) |
parents | 497781d172cd |
children | 6e8b1bcb30e2 |
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-mixer"
4 VERSION="4.10.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Audio Mixer"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.xfce.org"
11 WGET_URL="http://archive.xfce.org/src/apps/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="gtk+ libxfce4util gtk+ xfconf xfce4-panel gst-plugins-base startup-notification
14 util-linux-uuid libunique"
15 BUILD_DEPENDS="gtk+-dev libxfce4util-dev xfconf-dev xfce4-panel-dev
16 gst-plugins-base-dev intltool libxfce4ui-dev gstreamer-dev startup-notification-dev \
17 util-linux-uuid-dev libxml2-dev libunique-dev xcb-util-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 ./configure --prefix=/usr \
24 --libexecdir=/usr/lib/$PACKAGE $CONFIGURE_ARGS && \
25 make && make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/share/locale
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib $fs/usr
35 cp -a $install/usr/share/xfce4 $fs/usr/share
36 cp -a $install/usr/share/pixmaps $fs/usr/share
37 cp -a $install/usr/share/xfce4-mixer $fs/usr/share
39 rm -rf $fs/usr/share/xfce4-mixer/icons/hicolor/scalable
41 # Strip everything
42 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
43 }