wok-next annotate xfprint/receipt @ rev 15316

surf: add libX11
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Sep 27 16:57:38 2013 +0000 (2013-09-27)
parents 2dd8ad4477ac
children b65a485271eb
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
erjo@9979 22 ./configure --prefix=/usr $CONFIGURE_ARGS && \
erjo@9979 23 make && make DESTDIR=$DESTDIR install
erjo@2075 24 }
erjo@2075 25
erjo@2075 26 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2075 27 genpkg_rules()
erjo@2075 28 {
erjo@2075 29 mkdir -p $fs/usr
erjo@2075 30
pascal@15000 31 cp -a $install/usr/bin $fs/usr
pascal@15000 32 cp -a $install/usr/lib $fs/usr
erjo@2075 33
erjo@2075 34 # Remove unecessary files
erjo@2075 35 find $fs/ -name "*.*a" -exec rm -f {} \;
erjo@2075 36 rm -rf $fs/usr/lib/pkgconfig
erjo@2075 37 # Remove SVG icons
erjo@2075 38 rm -rf $fs/usr/share/icons/hicolor/scalable
erjo@2075 39
erjo@2075 40
erjo@2075 41 }
erjo@2075 42