wok-4.x view libxml2/receipt @ rev 12471

Mass Rebuild of base packages
author Stanislas Leduc <shann@slitaz.org>
date Thu Nov 10 11:11:46 2022 +0000 (18 months ago)
parents 4c7e8355c655
children
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="autoconf automake libtool python-dev zlib-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 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 }