wok-6.x annotate xfprint/receipt @ rev 24722

updated libcaca and libcaca-dev (0.99.beta19 -> 0.99.beta20)
author Hans-G?nter Theisgen
date Tue Mar 15 10:03:33 2022 +0100 (2022-03-15)
parents 6e8b1bcb30e2
children bd7510903310
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
pascal@24415 19 # What is the latest version available today?
pascal@24415 20 current_version()
pascal@24415 21 {
pascal@24415 22 wget -O - ${WGET_URL%/*} 2>/dev/null | \
pascal@24415 23 sed "/$PACKAGE-/!d;/tar/!d;s|.*$PACKAGE-||;s|.tar.*||" | sort -Vr | sed q
pascal@24415 24 }
pascal@24415 25
erjo@2075 26 # Rules to configure and make the package.
erjo@2075 27 compile_rules()
erjo@2075 28 {
erjo@2075 29 cd $src
pascal@15345 30 patch -p1 < $stuff/xfprint-4.6.1-cups-1.6.patch
erjo@9979 31 ./configure --prefix=/usr $CONFIGURE_ARGS && \
erjo@9979 32 make && make DESTDIR=$DESTDIR install
erjo@2075 33 }
erjo@2075 34
erjo@2075 35 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2075 36 genpkg_rules()
erjo@2075 37 {
erjo@2075 38 mkdir -p $fs/usr
erjo@2075 39
pascal@15000 40 cp -a $install/usr/bin $fs/usr
pascal@15000 41 cp -a $install/usr/lib $fs/usr
erjo@2075 42
erjo@2075 43 # Remove unecessary files
erjo@2075 44 find $fs/ -name "*.*a" -exec rm -f {} \;
erjo@2075 45 rm -rf $fs/usr/lib/pkgconfig
erjo@2075 46 # Remove SVG icons
erjo@2075 47 rm -rf $fs/usr/share/icons/hicolor/scalable
erjo@2075 48
erjo@2075 49
erjo@2075 50 }
erjo@2075 51