wok-next view xfprint/receipt @ rev 20661
Unification of the patch system
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu May 10 21:12:00 2018 +0300 (2018-05-10) |
parents | fb9d8c16e8db |
children | 690e7cc036d5 |
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="http://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 gtk+-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 gtk+ 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 }