wok view xfprint/receipt @ rev 25230
updated python-pytest (4.6.9 -> 4.6.11)
author | Hans-G?nter Theisgen |
---|---|
date | Wed Jul 13 17:03:18 2022 +0100 (2022-07-13) |
parents | 17091bc7c301 |
children | 1573884f6aee |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="https://www.xfce.org"
11 WGET_URL="https://archive.xfce.org/xfce/$VERSION/src/$TARBALL"
13 DEPENDS="libxfcegui4 libxfce4util cups dbus-glib startup-notification \
14 libcomerr3 util-linux-uuid"
15 BUILD_DEPENDS="libxfcegui4-dev libxfce4util-dev cups-dev intltool xfconf-dev \
16 dbus-glib-dev startup-notification-dev util-linux-uuid-dev gtk+-dev \
17 xcb-util-dev"
19 # What is the latest version available today?
20 current_version()
21 {
22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
24 }
26 # Rules to configure and make the package.
27 compile_rules()
28 {
29 cd $src
30 patch -p1 < $stuff/xfprint-4.6.1-cups-1.6.patch
31 ./configure --prefix=/usr $CONFIGURE_ARGS && \
32 make && make DESTDIR=$DESTDIR install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr
40 cp -a $install/usr/bin $fs/usr
41 cp -a $install/usr/lib $fs/usr
43 # Remove unecessary files
44 find $fs/ -name "*.*a" -exec rm -f {} \;
45 rm -rf $fs/usr/lib/pkgconfig
46 # Remove SVG icons
47 rm -rf $fs/usr/share/icons/hicolor/scalable
50 }