wok-current view xfprint/receipt @ rev 12481
Rename linux-util-ng to util-linux in all packages
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Apr 23 16:30:27 2012 +0200 (2012-04-23) |
parents | 928b0a2e89b8 |
children | 3121fc0abb16 |
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 TARBALL="$PACKAGE-$VERSION.tar.bz2"
9 WEB_SITE="http://www.xfce.org"
10 WGET_URL="$WEB_SITE/archive/xfce/$VERSION/src/$TARBALL"
12 DEPENDS="libxfcegui4 libxfce4util cups dbus-glib startup-notification \
13 libcomerr3 util-linux-uuid"
14 BUILD_DEPENDS="libxfcegui4-dev libxfce4util-dev cups-dev intltool xfconf-dev \
15 dbus-glib-dev startup-notification-dev util-linux-uuid-dev "
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 cd $src
21 ./configure --prefix=/usr $CONFIGURE_ARGS && \
22 make && make DESTDIR=$DESTDIR install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr
30 cp -a $_pkg/usr/bin $fs/usr
31 cp -a $_pkg/usr/lib $fs/usr
33 # Remove unecessary files
34 find $fs/ -name "*.*a" -exec rm -f {} \;
35 rm -rf $fs/usr/lib/pkgconfig
36 # Remove SVG icons
37 rm -rf $fs/usr/share/icons/hicolor/scalable
40 }