wok-next view libxml2/receipt @ rev 13333
Add python-pyexiv2 (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 04 16:40:06 2012 +0200 (2012-09-04) |
parents | c50f70597a21 |
children | 8b30da0aa071 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libxml2"
4 VERSION="2.8.0"
5 CATEGORY="system-tools"
6 SHORT_DESC="Libxml2 is the XML C parser and toolkit."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://xmlsoft.org/"
10 WGET_URL="ftp://xmlsoft.org/libxml2/$TARBALL"
11 DEPENDS="zlib"
12 BUILD_DEPENDS="zlib-dev python-dev"
14 # Rules to configure and make the package.
15 #
16 # Note: libxml2 can be build using option --with-minimum
17 # and binaries are splited into libxml2-tools
18 compile_rules()
19 {
20 cd $src
21 autoreconf -fi
22 ./configure \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 --with-html-dir=/usr/share/doc \
27 --with-threads \
28 --with-history \
29 $CONFIGURE_ARGS &&
30 make &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 }