wok-current view expat/receipt @ rev 22859
updated gnaughty (1.2.4 -> 1.2.5)
author | Hans-G?nter Theisgen |
---|---|
date | Thu Feb 20 14:50:56 2020 +0100 (2020-02-20) |
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 }