wok annotate xfprint/receipt @ rev 24063

Fix sane-backends-dev
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Jun 12 09:56:19 2021 +0000 (2021-06-12)
parents 9053833522ce
children 17091bc7c301
rev   line source
erjo@2075 1 # SliTaz package receipt.
erjo@2075 2
erjo@2075 3 PACKAGE="xfprint"
erjo@4134 4 VERSION="4.6.1"
erjo@2075 5 CATEGORY="x-window"
erjo@2075 6 SHORT_DESC="Xfce Printer manager"
erjo@2075 7 MAINTAINER="erjo@slitaz.org"
pascal@15000 8 LICENSE="GPL2"
erjo@2075 9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
pascal@20671 10 WEB_SITE="https://www.xfce.org"
pascal@12643 11 WGET_URL="http://archive.xfce.org/xfce/$VERSION/src/$TARBALL"
erjo@2075 12
erjo@9979 13 DEPENDS="libxfcegui4 libxfce4util cups dbus-glib startup-notification \
pankso@12481 14 libcomerr3 util-linux-uuid"
erjo@9979 15 BUILD_DEPENDS="libxfcegui4-dev libxfce4util-dev cups-dev intltool xfconf-dev \
pascal@19744 16 dbus-glib-dev startup-notification-dev util-linux-uuid-dev gtk+-dev \
pascal@19744 17 xcb-util-dev"
erjo@9979 18
erjo@2075 19 # Rules to configure and make the package.
erjo@2075 20 compile_rules()
erjo@2075 21 {
erjo@2075 22 cd $src
pascal@15345 23 patch -p1 < $stuff/xfprint-4.6.1-cups-1.6.patch
erjo@9979 24 ./configure --prefix=/usr $CONFIGURE_ARGS && \
erjo@9979 25 make && make DESTDIR=$DESTDIR install
erjo@2075 26 }
erjo@2075 27
erjo@2075 28 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2075 29 genpkg_rules()
erjo@2075 30 {
erjo@2075 31 mkdir -p $fs/usr
erjo@2075 32
pascal@15000 33 cp -a $install/usr/bin $fs/usr
pascal@15000 34 cp -a $install/usr/lib $fs/usr
erjo@2075 35
erjo@2075 36 # Remove unecessary files
erjo@2075 37 find $fs/ -name "*.*a" -exec rm -f {} \;
erjo@2075 38 rm -rf $fs/usr/lib/pkgconfig
erjo@2075 39 # Remove SVG icons
erjo@2075 40 rm -rf $fs/usr/share/icons/hicolor/scalable
erjo@2075 41
erjo@2075 42
erjo@2075 43 }
erjo@2075 44