# SliTaz package receipt. PACKAGE="xfwm4" VERSION="4.8.1" CATEGORY="x-window" SHORT_DESC="Xfce Window Manager" MAINTAINER="erjo@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.xfce.org/" WGET_URL="http://archive.xfce.org/src/xfce/$PACKAGE/${VERSION%.*}/$TARBALL" DEPENDS="libxfce4util libxfce4ui xfconf dbus-glib libwnck libglade" BUILD_DEPENDS="libxfce4util-dev xfconf-dev libxfce4ui-dev xorg-compositeproto intltool \ libwnck-dev dbus-glib-dev util-linux-ng-uuid-dev" # Rules to configure and make the package. compile_rules() { cd $src ./configure --prefix=/usr \ --enable-render \ --enable-startup-notification \ --enable-randr \ --disable-debug \ --disable-static \ --mandir=/usr/share/man $CONFIGURE_ARGS && \ make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr \ $fs/usr/share/locale cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale cp -a $_pkg/usr/share/applications $fs/usr/share cp -a $_pkg/usr/share/icons $fs/usr/share cp -a $_pkg/usr/share/themes $fs/usr/share cp -a $_pkg/usr/share/xfwm4 $fs/usr/share # Remove SVG icons test -d $fs/usr/share/icons/hicolor/scalable \ && rm -rf $fs/usr/share/icons/hicolor/scalable }