wok-current view expat/receipt @ rev 17613
Up: expat 2.1.0
author | Alexander Medvedev <devl547@gmail.com> |
---|---|
date | Thu Feb 12 19:30:27 2015 +0000 (2015-02-12) |
parents | fcdd50638150 |
children | 21172827b7f1 |
line source
1 # SliTaz package receipt.
3 PACKAGE="expat"
4 VERSION="2.1.0"
5 CATEGORY="x-window"
6 SHORT_DESC="XML parsing library."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://expat.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 ./configure $CONFIGURE_ARGS &&
19 make && make DESTDIR=$DESTDIR 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 $install/usr/bin/* $fs/usr/bin
27 cp -a $install/usr/lib/*.so* $fs/usr/lib
28 # expat so.0 symbolic link.
29 cd $fs/usr/lib
30 ln -s libexpat.so.1.5.2 libexpat.so.0
31 }