wok view xfprint/receipt @ rev 22042

gcc83-lib-base: do NOT provide gcc-lib-base
Currently BOTH gcc-lib-base and gcc83-lib-base are installed on my SliTaz system. So, with the current (and longstanding) tazpkg limitations I can't update just gcc-lib-base: tazpkg always updates gcc83-lib-base for me instead. Now I can't run Firefox, Vivaldi, Chrome, etc. I think because of gcc-lib-base, but I not sure 1bsolutely.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Oct 22 12:55:54 2019 +0300 (2019-10-22)
parents 9053833522ce
children 17091bc7c301
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="http://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 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 patch -p1 < $stuff/xfprint-4.6.1-cups-1.6.patch
24 ./configure --prefix=/usr $CONFIGURE_ARGS && \
25 make && make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr
33 cp -a $install/usr/bin $fs/usr
34 cp -a $install/usr/lib $fs/usr
36 # Remove unecessary files
37 find $fs/ -name "*.*a" -exec rm -f {} \;
38 rm -rf $fs/usr/lib/pkgconfig
39 # Remove SVG icons
40 rm -rf $fs/usr/share/icons/hicolor/scalable
43 }