wok-stable annotate xfce4-mixer/receipt @ rev 5573
tcc: add cross compilers
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 15 16:05:09 2010 +0200 (2010-05-15) |
parents | 2eba1325f6a3 |
children | fe2fd41e6103 |
rev | line source |
---|---|
erjo@4140 | 1 # SliTaz package receipt. |
erjo@4140 | 2 |
erjo@4140 | 3 PACKAGE="xfce4-mixer" |
erjo@4140 | 4 VERSION="4.6.1" |
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 |
erjo@4140 | 10 gst-plugins-base-dev" |
erjo@4140 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
erjo@4140 | 12 WEB_SITE="http://www.xfce.org" |
pascal@4214 | 13 WGET_URL="$WEB_SITE/archive/xfce/$VERSION/src/$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 } |