wok-next view expat/receipt @ rev 21722
efivar: typo in post_install
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Sep 01 10:31:46 2020 +0000 (2020-09-01) |
parents | d5aab818505e |
children |
line source
1 # SliTaz package receipt v2.
3 PACKAGE="expat"
4 VERSION="2.2.9"
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 }