wok view libxml2/receipt @ rev 14834

libxfconf-dev: fix genpkg_rules
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Jul 17 15:26:45 2013 +0200 (2013-07-17)
parents 27727d07d680
children 09959b49f7da
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 HOST_ARCH="i486 arm"
13 DEPENDS="zlib"
14 BUILD_DEPENDS="zlib-dev python-dev"
16 # When cross compiling Python is installed in chroot and is used
17 # by cross tools, cook dont need to install it in /usr/cross/arm
18 case "$ARCH" in
19 arm) BUILD_DEPENDS="" ;;
20 esac
22 # Rules to configure and make the package.
23 #
24 # Note: libxml2 can be build using option --with-minimum
25 # and binaries are splited into libxml2-tools
26 compile_rules()
27 {
28 cd $src
29 autoreconf -fi
30 ./configure \
31 --prefix=/usr \
32 --infodir=/usr/share/info \
33 --mandir=/usr/share/man \
34 --with-html-dir=/usr/share/doc \
35 --with-threads \
36 --with-history \
37 $CONFIGURE_ARGS &&
38 make &&
39 make DESTDIR=$DESTDIR install
40 }
42 # Rules to gen a SliTaz package suitable for Tazpkg.
43 genpkg_rules()
44 {
45 mkdir -p $fs/usr/lib
46 cp -a $install/usr/lib/*.so* $fs/usr/lib
47 }