wok-6.x view xfwm4/receipt @ rev 18480

syslinux: fix post-install when upgrade the package
No more "XXXXXXXX" here, so post_install() fails
author Aleksej Bobylev <al.bobylev@gmail.com>
date Thu Oct 08 03:44:14 2015 +0300 (2015-10-08)
parents 850328f07d42
children 9053833522ce
line source
1 # SliTaz package receipt.
3 PACKAGE="xfwm4"
4 VERSION="4.11.1"
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"
12 TAGS="window-manager"
14 DEPENDS="libxfce4util libxfce4ui xfconf dbus-glib libwnck libglade"
15 BUILD_DEPENDS="libxfce4util-dev xfconf-dev libxfce4ui-dev xorg-compositeproto intltool \
16 libwnck-dev dbus-glib-dev util-linux-uuid-dev libxml2-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
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/applications $fs/usr/share
39 cp -a $install/usr/share/icons $fs/usr/share
40 cp -a $install/usr/share/themes $fs/usr/share
41 cp -a $install/usr/share/xfwm4 $fs/usr/share
43 # Remove SVG icons
44 test -d $fs/usr/share/icons/hicolor/scalable \
45 && rm -rf $fs/usr/share/icons/hicolor/scalable
46 }