wok-6.x view expat/receipt @ rev 18484

Up tazpkg-test(846)
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Oct 09 13:15:59 2015 +0300 (2015-10-09)
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 }