wok view expat/receipt @ rev 23843

gettext: add ncurses to depends
author Richard Dunbar <mojo@slitaz.org>
date Sat Jun 13 02:21:20 2020 -0400 (2020-06-13)
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 }