wok-next view xfprint/receipt @ rev 15037

turnserver: configure bug workaround
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Aug 12 12:40:20 2013 +0000 (2013-08-12)
parents 2dd8ad4477ac
children b65a485271eb
line source
1 # SliTaz package receipt.
3 PACKAGE="xfprint"
4 VERSION="4.6.1"
5 CATEGORY="x-window"
6 SHORT_DESC="Xfce Printer manager"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.xfce.org"
11 WGET_URL="http://archive.xfce.org/xfce/$VERSION/src/$TARBALL"
13 DEPENDS="libxfcegui4 libxfce4util cups dbus-glib startup-notification \
14 libcomerr3 util-linux-uuid"
15 BUILD_DEPENDS="libxfcegui4-dev libxfce4util-dev cups-dev intltool xfconf-dev \
16 dbus-glib-dev startup-notification-dev util-linux-uuid-dev gtk+-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure --prefix=/usr $CONFIGURE_ARGS && \
23 make && make DESTDIR=$DESTDIR install
24 }
26 # Rules to gen a SliTaz package suitable for Tazpkg.
27 genpkg_rules()
28 {
29 mkdir -p $fs/usr
31 cp -a $install/usr/bin $fs/usr
32 cp -a $install/usr/lib $fs/usr
34 # Remove unecessary files
35 find $fs/ -name "*.*a" -exec rm -f {} \;
36 rm -rf $fs/usr/lib/pkgconfig
37 # Remove SVG icons
38 rm -rf $fs/usr/share/icons/hicolor/scalable
41 }