# SliTaz package receipt. PACKAGE="xfprint" VERSION="4.6.1" CATEGORY="x-window" SHORT_DESC="Xfce Printer manager" MAINTAINER="erjo@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="http://www.xfce.org" WGET_URL="$WEB_SITE/archive/xfce/$VERSION/src/$TARBALL" DEPENDS="libxfcegui4 libxfce4util cups dbus-glib startup-notification \ libcomerr3 util-linux-ng-uuid" BUILD_DEPENDS="libxfcegui4-dev libxfce4util-dev cups-dev intltool xfconf-dev \ dbus-glib-dev startup-notification-dev util-linux-ng-uuid-dev " # Rules to configure and make the package. compile_rules() { cd $src ./configure --prefix=/usr $CONFIGURE_ARGS && \ make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr cp -a $_pkg/usr/bin $fs/usr cp -a $_pkg/usr/lib $fs/usr # Remove unecessary files find $fs/ -name "*.*a" -exec rm -f {} \; rm -rf $fs/usr/lib/pkgconfig # Remove SVG icons rm -rf $fs/usr/share/icons/hicolor/scalable }