wok-next view expat/receipt @ rev 16414
Up: slitaz-tools, slitaz-tools-boxes (5.7.3)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Thu Apr 17 13:44:31 2014 +0300 (2014-04-17) |
parents | 6233a11c8f04 |
children | a75552e134a3 |
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 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 }