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

Add : libgcrypt, gnutls, libgpg-error dev files
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Tue Feb 05 22:41:51 2008 +0100 (2008-02-05)
parents
children cf22fee17710
line source
1 # SliTaz package receipt.
3 PACKAGE="libxml2"
4 VERSION="2.6.30"
5 CATEGORY="extra"
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 --infodir=/usr/share/info \
21 --mandir=/usr/share/man --with-html-dir=/usr/share/doc
22 $CONFIGURE_ARGS
23 make
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/bin $fs/usr
33 strip -s $fs/usr/lib/*
34 strip -s $fs/usr/bin/* 2>/dev/null
35 }