wok-next view expat/receipt @ rev 20459
Combine receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Mar 02 13:45:43 2018 +0200 (2018-03-02) |
parents | 9278a60d6895 |
children | 835b3b8ce6ac |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="expat"
4 VERSION="2.2.3"
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 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/expat.html"
12 TARBALL="$PACKAGE-$VERSION.tar.bz2"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 SPLIT="expat-dev"
17 compile_rules() {
18 ./configure \
19 --disable-static \
20 $CONFIGURE_ARGS &&
21 make && make DESTDIR=$install install || return 1
23 cook_pick_docs doc/*.html doc/*.css doc/*.png
24 }
26 genpkg_rules() {
27 case $PACKAGE in
28 expat)
29 copy @std
30 TAGS="LFS"
31 ;;
32 *-dev) copy @dev;;
33 esac
34 }