wok-6.x view expat/receipt @ rev 20668
Up pjsip (2.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 21 10:25:55 2019 +0100 (2019-01-21) |
parents | 21172827b7f1 |
children | baa7232f49c4 |
line source
1 # SliTaz package receipt.
3 PACKAGE="expat"
4 VERSION="2.1.0"
5 CATEGORY="x-window"
6 SHORT_DESC="XML parsing C 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 ./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.*.* libexpat.so.0
30 }