wok-6.x view gnome-doc-utils/receipt @ rev 18077

Rebuild Python packages to remove "*.pyc" files from package.lists (part 1).
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri May 22 17:34:18 2015 +0300 (2015-05-22)
parents 06bbf4cf0c43
children 86790a278e70
line source
1 # SliTaz package receipt.
3 PACKAGE="gnome-doc-utils"
4 VERSION="0.20.10"
5 CATEGORY="misc"
6 SHORT_DESC="Documentation utilities for Gnome"
7 MAINTAINER="erjo@slitaz.org"
8 LICENSE="GPL2 LGPL2.1"
9 TARBALL="$PACKAGE-$VERSION.tar.xz"
10 WEB_SITE="http://www.gnome.org/"
11 WGET_URL="$GNOME_MIRROR/$PACKAGE/${VERSION%.*}/$TARBALL"
13 DEPENDS="libxml2 libxslt python libxml2-python rarian docbook-xml"
14 BUILD_DEPENDS="libxml2-dev libxslt-dev rarian-dev libxml2-python pkg-config \
15 intltool"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure --prefix=/usr \
21 --infodir=/usr/share/info \
22 --sysconfdir=/etc \
23 --localstatedir=/var \
24 --disable-scrollkeeper \
25 --mandir=/usr/share/man $CONFIGURE_ARGS &&
26 make -j1 &&
27 make -j1 DESTDIR=$DESTDIR install
28 }
30 # Rules to gen a SliTaz package suitable for Tazpkg.
31 genpkg_rules()
32 {
33 mkdir -p $fs/usr/bin $fs/usr/share/locale
34 cp -a $install/usr/bin/gnome-doc-tool $fs/usr/bin
35 cp -a $install/usr/bin/xml2po $fs/usr/bin
36 cp -a $install/usr/share/xml $fs/usr/share
37 cp -a $install/usr/lib $fs/usr
38 }