wok view xfwm4/receipt @ rev 15502

util-linux-flock: fix pre_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 17 18:13:51 2013 +0000 (2013-11-17)
parents 93c7babc7da8
children 850328f07d42
line source
1 # SliTaz package receipt.
3 PACKAGE="xfwm4"
4 VERSION="4.10.0"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Window Manager"
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 xfconf dbus-glib libwnck libglade"
14 BUILD_DEPENDS="libxfce4util-dev xfconf-dev libxfce4ui-dev xorg-compositeproto intltool \
15 libwnck-dev dbus-glib-dev util-linux-uuid-dev libxml2-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr \
22 --enable-render \
23 --enable-startup-notification \
24 --enable-randr \
25 --disable-debug \
26 --disable-static \
27 --mandir=/usr/share/man $CONFIGURE_ARGS && \
28 make && make install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr \
35 $fs/usr/share/locale
37 cp -a $install/usr/bin $fs/usr
38 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
39 cp -a $install/usr/share/applications $fs/usr/share
40 cp -a $install/usr/share/icons $fs/usr/share
41 cp -a $install/usr/share/themes $fs/usr/share
42 cp -a $install/usr/share/xfwm4 $fs/usr/share
44 # Remove SVG icons
45 test -d $fs/usr/share/icons/hicolor/scalable \
46 && rm -rf $fs/usr/share/icons/hicolor/scalable
47 }