wok-next view expat/receipt @ rev 18853

Up scribus (1.4.6)
author Xander Ziiryanoff <psychomaniak@xakep.ru>
date Mon Jan 25 19:59:50 2016 +0100 (2016-01-25)
parents 21172827b7f1
children c740762c8991
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 }