wok view xfprint/receipt @ rev 25799

recooked xfce4
author Hans-G?nter Theisgen
date Wed Oct 23 17:54:37 2024 +0100 (4 weeks ago)
parents bd7510903310
children 0600a43cc716
line source
1 # SliTaz package receipt.
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 SUGGESTED="xfprint-lang"
15 DEPENDS="cups dbus-glib libcomerr3 libxfce4util libxfcegui4
16 startup-notification util-linux-uuid"
17 BUILD_DEPENDS="cups-dev dbus-glib-dev gtk+-dev intltool libxfce4util-dev
18 libxfcegui4-dev startup-notification-dev util-linux-uuid-dev
19 xcb-util-dev xfconf-dev"
21 # What is the latest version available today?
22 current_version()
23 {
24 wget -O - ${WGET_URL%/*} 2>/dev/null | \
25 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
26 }
28 # Rules to configure and make the package.
29 compile_rules()
30 {
31 patch -p1 < $stuff/xfprint-4.6.1-cups-1.6.patch
33 ./configure \
34 --prefix=/usr \
35 $CONFIGURE_ARGS &&
36 make &&
37 make install
38 }
40 # Rules to gen a SliTaz package suitable for Tazpkg.
41 genpkg_rules()
42 {
43 cook_copy_folders bin
44 cook_copy_folders icons
45 cook_copy_files *.so*
47 # Remove SVG icons
48 rm -rf $fs/usr/share/icons/hicolor/scalable
49 }