wok annotate xfprint/receipt @ rev 18761
Up tazpkg(898)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue Dec 29 22:01:51 2015 +0200 (2015-12-29) |
parents | 380ffe05937a |
children | 9053833522ce |
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" |
erjo@2075 | 10 WEB_SITE="http://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@12644 | 16 dbus-glib-dev startup-notification-dev util-linux-uuid-dev gtk+-dev" |
erjo@9979 | 17 |
erjo@2075 | 18 # Rules to configure and make the package. |
erjo@2075 | 19 compile_rules() |
erjo@2075 | 20 { |
erjo@2075 | 21 cd $src |
pascal@15345 | 22 patch -p1 < $stuff/xfprint-4.6.1-cups-1.6.patch |
erjo@9979 | 23 ./configure --prefix=/usr $CONFIGURE_ARGS && \ |
erjo@9979 | 24 make && make DESTDIR=$DESTDIR install |
erjo@2075 | 25 } |
erjo@2075 | 26 |
erjo@2075 | 27 # Rules to gen a SliTaz package suitable for Tazpkg. |
erjo@2075 | 28 genpkg_rules() |
erjo@2075 | 29 { |
erjo@2075 | 30 mkdir -p $fs/usr |
erjo@2075 | 31 |
pascal@15000 | 32 cp -a $install/usr/bin $fs/usr |
pascal@15000 | 33 cp -a $install/usr/lib $fs/usr |
erjo@2075 | 34 |
erjo@2075 | 35 # Remove unecessary files |
erjo@2075 | 36 find $fs/ -name "*.*a" -exec rm -f {} \; |
erjo@2075 | 37 rm -rf $fs/usr/lib/pkgconfig |
erjo@2075 | 38 # Remove SVG icons |
erjo@2075 | 39 rm -rf $fs/usr/share/icons/hicolor/scalable |
erjo@2075 | 40 |
erjo@2075 | 41 |
erjo@2075 | 42 } |
erjo@2075 | 43 |