wok view libxml2/receipt @ rev 12895
get-skype: fix library versions in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 28 10:47:31 2012 +0200 (2012-05-28) |
parents | 4c7e8355c655 |
children | 27727d07d680 |
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 HOST_ARCH="i486 arm"
13 DEPENDS="zlib"
14 BUILD_DEPENDS="python"
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 patch -Np1 -i $stuff/libxml2-fix.patch
30 ./configure \
31 $CONFIGURE_ARGS &&
32 make && make install
33 }
35 # Rules to gen a SliTaz package suitable for Tazpkg.
36 genpkg_rules()
37 {
38 mkdir -p $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 }