wok view libxml2/receipt @ rev 232

Slitaz-loram: do not trust mksquashfs status
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 16 23:00:26 2008 +0100 (2008-02-16)
parents 8a16d292a7d3
children d20580fa5cac
line source
1 # SliTaz package receipt.
3 PACKAGE="libxml2"
4 VERSION="2.6.30"
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"
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 }