wok view libxml2/receipt @ rev 1353

iFix: dvdauthor BUILD_DEPENDS, needs libdvdread-dev to build.
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sat Sep 06 15:07:21 2008 +0200 (2008-09-06)
parents d20580fa5cac
children 17d3bc40263d
line source
1 # SliTaz package receipt.
3 PACKAGE="libxml2"
4 VERSION="2.6.32"
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"
12 # Rules to configure and make the package.
13 #
14 # Note: libxml2 can be build using option --with-minimum
15 #
16 compile_rules()
17 {
18 cd $src
19 ./configure \
20 --prefix=/usr \
21 --infodir=/usr/share/info \
22 --mandir=/usr/share/man \
23 --with-html-dir=/usr/share/doc
24 $CONFIGURE_ARGS
25 make
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 mkdir -p $fs/usr/lib
33 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
34 cp -a $_pkg/usr/bin $fs/usr
35 rm $fs/usr/bin/xml2-config
36 }