wok annotate 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
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"
erjo@2075 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@2075 9 WEB_SITE="http://www.xfce.org"
pascal@4220 10 WGET_URL="$WEB_SITE/archive/xfce/$VERSION/src/$TARBALL"
erjo@2075 11
erjo@9979 12 DEPENDS="libxfcegui4 libxfce4util cups dbus-glib startup-notification \
pankso@12481 13 libcomerr3 util-linux-uuid"
erjo@9979 14 BUILD_DEPENDS="libxfcegui4-dev libxfce4util-dev cups-dev intltool xfconf-dev \
pankso@12481 15 dbus-glib-dev startup-notification-dev util-linux-uuid-dev "
erjo@9979 16
erjo@2075 17 # Rules to configure and make the package.
erjo@2075 18 compile_rules()
erjo@2075 19 {
erjo@2075 20 cd $src
erjo@9979 21 ./configure --prefix=/usr $CONFIGURE_ARGS && \
erjo@9979 22 make && make DESTDIR=$DESTDIR install
erjo@2075 23 }
erjo@2075 24
erjo@2075 25 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@2075 26 genpkg_rules()
erjo@2075 27 {
erjo@2075 28 mkdir -p $fs/usr
erjo@2075 29
erjo@2075 30 cp -a $_pkg/usr/bin $fs/usr
erjo@2075 31 cp -a $_pkg/usr/lib $fs/usr
erjo@2075 32
erjo@2075 33 # Remove unecessary files
erjo@2075 34 find $fs/ -name "*.*a" -exec rm -f {} \;
erjo@2075 35 rm -rf $fs/usr/lib/pkgconfig
erjo@2075 36 # Remove SVG icons
erjo@2075 37 rm -rf $fs/usr/share/icons/hicolor/scalable
erjo@2075 38
erjo@2075 39
erjo@2075 40 }
erjo@2075 41