wok-next annotate xfprint/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | d5aab818505e |
children |
rev | line source |
---|---|
al@20456 | 1 # SliTaz package receipt v2. |
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" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15000 | 8 LICENSE="GPL2" |
al@21006 | 9 WEB_SITE="https://www.xfce.org/" |
al@20456 | 10 |
erjo@2075 | 11 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pascal@12643 | 12 WGET_URL="http://archive.xfce.org/xfce/$VERSION/src/$TARBALL" |
erjo@2075 | 13 |
erjo@9979 | 14 BUILD_DEPENDS="libxfcegui4-dev libxfce4util-dev cups-dev intltool xfconf-dev \ |
al@21017 | 15 dbus-glib-dev startup-notification-dev util-linux-uuid-dev gtk2-dev \ |
al@21078 | 16 xcb-util-dev" |
al@21020 | 17 SPLIT="$PACKAGE-dev" |
erjo@9979 | 18 |
al@20456 | 19 compile_rules() { |
al@20555 | 20 export LDFLAGS="$LDFLAGS -lX11" |
al@20496 | 21 |
al@20456 | 22 ./configure \ |
al@20456 | 23 --prefix=/usr \ |
al@20456 | 24 $CONFIGURE_ARGS && |
al@20496 | 25 fix libtool && |
al@20496 | 26 make && |
al@21020 | 27 make DESTDIR=$install install |
erjo@2075 | 28 } |
erjo@2075 | 29 |
al@20456 | 30 genpkg_rules() { |
al@20456 | 31 case $PACKAGE in |
al@20456 | 32 xfprint) |
al@20456 | 33 copy @std |
al@20456 | 34 # Remove SVG icons |
al@20456 | 35 rm -rf $fs/usr/share/icons/hicolor/scalable |
al@21017 | 36 DEPENDS="gdk-pixbuf glib gtk2 libcups libxfce4util libxfcegui4 \ |
al@21078 | 37 xfconf libx11" |
al@20456 | 38 ;; |
al@20456 | 39 *-dev) |
al@20456 | 40 copy @dev |
al@20496 | 41 DEPENDS="xfprint \ |
al@20496 | 42 glib-dev libxfce4util-dev" |
al@20456 | 43 ;; |
al@20456 | 44 esac |
al@20496 | 45 TAGS="Xfce" |
erjo@2075 | 46 } |