wok view xfce4-panel/receipt @ rev 15026

sylpheed: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Aug 11 22:07:47 2013 +0000 (2013-08-11)
parents b5ad92e46490
children 2e04415d45de
line source
1 # SliTaz package receipt.
3 PACKAGE="xfce4-panel"
4 VERSION="4.10.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Panel"
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/xfce/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="libxfce4util libxfce4ui libexo libwnck garcon util-linux-uuid dbus-glib"
14 BUILD_DEPENDS="libxfce4util-dev libxfce4ui-dev libexo-dev libwnck-dev cairo-dev garcon-dev
15 xorg-libXext-dev xorg-xextproto dbus-glib-dev util-linux-uuid-dev intltool exo xfconf-dev
16 libxml2-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
22 cd $src
23 ./configure --prefix=/usr \
24 --sysconfdir=/etc \
25 --disable-debug \
26 --mandir=/usr/share/man $CONFIGURE_ARGS && \
27 make && make install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr \
34 $fs/usr/share/locale \
35 $fs/usr/share/xfce4 \
36 $fs/usr/lib/xfce4/panel/plugins
38 cp -a $install/etc $fs
39 cp -a $install/usr/bin $fs/usr
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/lib/xfce4/panel/plugins/*.so* $fs/usr/lib/xfce4/panel/plugins
42 cp -a $install/usr/lib/xfce4/panel/migrate $fs/usr/lib/xfce4/panel
43 cp -a $install/usr/lib/xfce4/panel/wrapper $fs/usr/lib/xfce4/panel
44 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
45 cp -a $install/usr/share/applications $fs/usr/share
46 cp -a $install/usr/share/icons $fs/usr/share
47 cp -a $install/usr/share/xfce4 $fs/usr/share
49 # Strip evrythings
50 find $fs/usr/lib/ -exec strip -s {} 2> /dev/null \;
52 }