wok-next view xfprint/receipt @ rev 21017
Some maintenance
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Oct 16 16:46:05 2018 +0300 (2018-10-16) |
parents | 690e7cc036d5 |
children | d5aab818505e |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="xfprint"
4 VERSION="4.6.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Printer manager"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 WEB_SITE="https://www.xfce.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="http://archive.xfce.org/xfce/$VERSION/src/$TARBALL"
14 BUILD_DEPENDS="libxfcegui4-dev libxfce4util-dev cups-dev intltool xfconf-dev \
15 dbus-glib-dev startup-notification-dev util-linux-uuid-dev gtk2-dev \
16 xorg-xcb-util-dev"
17 SPLIT="xfprint-dev"
19 compile_rules() {
20 export LDFLAGS="$LDFLAGS -lX11"
22 ./configure \
23 --prefix=/usr \
24 $CONFIGURE_ARGS &&
25 fix libtool &&
26 make &&
27 make DESTDIR=$DESTDIR install
28 }
30 genpkg_rules() {
31 case $PACKAGE in
32 xfprint)
33 copy @std
34 # Remove SVG icons
35 rm -rf $fs/usr/share/icons/hicolor/scalable
36 DEPENDS="gdk-pixbuf glib gtk2 libcups libxfce4util libxfcegui4 \
37 xfconf xorg-libX11"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="xfprint \
42 glib-dev libxfce4util-dev"
43 ;;
44 esac
45 TAGS="Xfce"
46 }