wok-6.x view expat/receipt @ rev 24049
Up openvpn (2.5.2), openssh (8.6p1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 10 20:32:02 2021 +0000 (2021-05-10) |
parents | 34e8f4b56043 |
children | 7e911016a644 |
line source
1 # SliTaz package receipt.
3 PACKAGE="expat"
4 VERSION="2.2.9"
5 CATEGORY="x-window"
6 SHORT_DESC="XML parsing C library"
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://libexpat.github.io/"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
14 HOST_ARCH="i486 arm"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 ./configure $CONFIGURE_ARGS &&
20 make -j 1 &&
21 make DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib $fs/usr/bin
28 cp -a $install/usr/bin/* $fs/usr/bin
29 cp -a $install/usr/lib/*.so* $fs/usr/lib
30 # expat so.0 symbolic link.
31 cd $fs/usr/lib
32 ln -s libexpat.so.1.*.* libexpat.so.0
33 }