wok-6.x view expat/receipt @ rev 12831
elfutils: cross-compile for ARM
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 22 16:24:28 2012 +0200 (2012-05-22) |
parents | e5ae411e1d8c |
children | fcdd50638150 |
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"
11 HOST_ARCH="i486 arm"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure $CONFIGURE_ARGS &&
18 make && make DESTDIR=$DESTDIR install
19 }
21 # Rules to gen a SliTaz package suitable for Tazpkg.
22 genpkg_rules()
23 {
24 mkdir -p $fs/usr/lib $fs/usr/bin
25 cp -a $install/usr/bin/* $fs/usr/bin
26 cp -a $install/usr/lib/*.so* $fs/usr/lib
27 # expat so.0 symbolic link.
28 cd $fs/usr/lib
29 ln -s libexpat.so.1.5.2 libexpat.so.0
30 }