wok view libgnomeprintui/receipt @ rev 9098

emacs-pkg-lua-mode: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Mar 04 22:10:40 2011 +0100 (2011-03-04)
parents 9e5783c9bd34
children e5ae411e1d8c
line source
1 # SliTaz package receipt.
3 PACKAGE="libgnomeprintui"
4 VERSION="2.18.5"
5 CATEGORY="x-window"
6 SHORT_DESC="GNOME print user interface library"
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="gtk+ libgnomeprint libgnomecanvas libart_lgpl"
9 BUILD_DEPENDS="pkg-config gnome-icon-theme intltool flex"
10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
11 WEB_SITE="http://www.gnome.org/"
12 WGET_URL="http://ftp.gnome.org/pub/gnome/sources/$PACKAGE/2.18/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure \
19 --prefix=/usr \
20 --infodir=/usr/share/info \
21 --mandir=/usr/share/man \
22 --with-html-dir=/usr/share/doc \
23 $CONFIGURE_ARGS &&
24 make &&
25 make DESTDIR=$PWD/_pkg install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/share/locale
32 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
35 cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share
37 strip -s $fs/usr/lib/*
38 }