wok-next view expat/receipt @ rev 20206
Up PyQt-x11-gpl (4.12.1)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Nov 04 09:19:58 2017 +0100 (2017-11-04) |
parents | c740762c8991 |
children | 90a5eb560fd6 |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="expat"
4 VERSION="2.2.0"
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/"
10 HOST_ARCH="i486 arm"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 SPLIT="expat-dev"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 ./configure \
21 --disable-static \
22 $CONFIGURE_ARGS &&
23 make && make DESTDIR=$install install
25 docdir="$install/usr/share/doc/expat-$VERSION"
26 mkdir -p $docdir; cp doc/* $docdir; rm $docdir/*.1
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 case $PACKAGE in
33 expat) copy @std ;;
34 expat-dev) copy @dev ;;
35 esac
36 }