wok-next view xfprint/receipt @ rev 21722

efivar: typo in post_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Sep 01 10:31:46 2020 +0000 (2020-09-01)
parents d5aab818505e
children
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="devel@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 xcb-util-dev"
17 SPLIT="$PACKAGE-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=$install 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 libx11"
38 ;;
39 *-dev)
40 copy @dev
41 DEPENDS="xfprint \
42 glib-dev libxfce4util-dev"
43 ;;
44 esac
45 TAGS="Xfce"
46 }