wok annotate xfce4-panel/receipt @ rev 15094

py3k: update bdeps
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Aug 13 22:28:38 2013 +0000 (2013-08-13)
parents b5ad92e46490
children 2e04415d45de
rev   line source
erjo@2073 1 # SliTaz package receipt.
erjo@2073 2
erjo@2073 3 PACKAGE="xfce4-panel"
erjo@14824 4 VERSION="4.10.0"
erjo@2073 5 CATEGORY="x-window"
erjo@2073 6 SHORT_DESC="Xfce Panel"
erjo@2073 7 MAINTAINER="erjo@slitaz.org"
pascal@15002 8 LICENSE="GPL2"
erjo@2073 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@2073 10 WEB_SITE="http://www.xfce.org/"
slaxemulator@8289 11 WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
erjo@2073 12
pankso@12481 13 DEPENDS="libxfce4util libxfce4ui libexo libwnck garcon util-linux-uuid dbus-glib"
erjo@9873 14 BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev libexo-dev libwnck-dev cairo-dev garcon-dev
erjo@14824 15 xorg-libXext-dev xorg-xextproto dbus-glib-dev util-linux-uuid-dev intltool exo xfconf-dev
erjo@14824 16 libxml2-dev"
erjo@9873 17
erjo@2073 18 # Rules to configure and make the package.
erjo@2073 19 compile_rules()
erjo@2073 20 {
erjo@5849 21
erjo@2073 22 cd $src
erjo@2073 23 ./configure --prefix=/usr \
erjo@2073 24 --sysconfdir=/etc \
erjo@2073 25 --disable-debug \
erjo@2073 26 --mandir=/usr/share/man $CONFIGURE_ARGS && \
erjo@14824 27 make && make install
erjo@2073 28 }
erjo@2073 29
erjo@2073 30 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2073 31 genpkg_rules()
erjo@2073 32 {
erjo@2073 33 mkdir -p $fs/usr \
erjo@2073 34 $fs/usr/share/locale \
erjo@2073 35 $fs/usr/share/xfce4 \
erjo@8022 36 $fs/usr/lib/xfce4/panel/plugins
erjo@2073 37
erjo@14824 38 cp -a $install/etc $fs
erjo@14824 39 cp -a $install/usr/bin $fs/usr
erjo@14824 40 cp -a $install/usr/lib/*.so* $fs/usr/lib
erjo@14824 41 cp -a $install/usr/lib/xfce4/panel/plugins/*.so* $fs/usr/lib/xfce4/panel/plugins
erjo@14824 42 cp -a $install/usr/lib/xfce4/panel/migrate $fs/usr/lib/xfce4/panel
erjo@14824 43 cp -a $install/usr/lib/xfce4/panel/wrapper $fs/usr/lib/xfce4/panel
erjo@14824 44 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
erjo@14824 45 cp -a $install/usr/share/applications $fs/usr/share
erjo@14824 46 cp -a $install/usr/share/icons $fs/usr/share
erjo@14824 47 cp -a $install/usr/share/xfce4 $fs/usr/share
erjo@4876 48
erjo@4876 49 # Strip evrythings
erjo@4876 50 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
erjo@4876 51
erjo@2073 52 }
erjo@2073 53