wok-4.x view libxml2/receipt @ rev 11770
zsh: give a tty to configure
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Feb 23 08:52:18 2012 +0100 (2012-02-23) |
parents | d1768332cee0 |
children | 39f7962e4210 |
line source
1 # SliTaz package receipt.
3 PACKAGE="libxml2"
4 VERSION="2.7.8"
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="python"
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 patch -Np1 -i $stuff/libxml2-fix.patch
22 ./configure \
23 --prefix=/usr \
24 --infodir=/usr/share/info \
25 --mandir=/usr/share/man \
26 --with-html-dir=/usr/share/doc \
27 $CONFIGURE_ARGS &&
28 make &&
29 make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib
36 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
37 }