wok-next view expat/receipt @ rev 21020

Cleaning is almost finished... I should proceed to upgrades.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Fri Nov 02 14:15:08 2018 +0200 (2018-11-02)
parents 3460c1bb1b40
children 661e075d1e38
line source
1 # SliTaz package receipt v2.
3 PACKAGE="expat"
4 VERSION="2.2.6"
5 CATEGORY="x-window"
6 SHORT_DESC="XML parsing C library"
7 MAINTAINER="devel@slitaz.org"
8 LICENSE="MIT"
9 WEB_SITE="https://libexpat.github.io/"
10 LFS="http://www.linuxfromscratch.org/lfs/view/development/chapter06/expat.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 SPLIT="$PACKAGE-dev"
17 compile_rules() {
18 ./configure \
19 --disable-static \
20 $CONFIGURE_ARGS &&
21 fix libtool &&
22 make &&
23 make install || return 1
25 cook_pick_docs doc/*.html doc/*.css doc/*.png
26 }
28 genpkg_rules() {
29 case $PACKAGE in
30 expat)
31 copy @std
32 TAGS="LFS"
33 ;;
34 *-dev) copy @dev;;
35 esac
36 }