wok-stable view expat/receipt @ rev 5515
Fix: opal (needs openssl-dev)
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Mon May 10 20:18:40 2010 +0000 (2010-05-10) |
parents | |
children | 02bbaa9d12ba |
line source
1 # SliTaz package receipt.
3 PACKAGE="expat"
4 VERSION="2.0.1"
5 CATEGORY="x-window"
6 SHORT_DESC="XML parsing library."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://expat.sourceforge.net/"
10 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 # Rules to configure and make the package.
13 compile_rules()
14 {
15 cd $src
16 ./configure --sysconfdir=/etc --prefix=/usr \
17 --mandir=/usr/share/man $CONFIGURE_ARGS
18 make
19 make DESTDIR=$PWD/_pkg install
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/lib $fs/usr/bin
26 cp -a $_pkg/usr/bin/* $fs/usr/bin
27 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
28 strip -s $fs/usr/bin/*
29 strip -s $fs/usr/lib/*
30 # expat so.0 symbolic link.
31 cd $fs/usr/lib
32 ln -s libexpat.so.1.5.2 libexpat.so.0
33 }