wok-next view expat/receipt @ rev 20636
Fix "can't execute '/usr/bin/update-mime-database': No such file or directory"
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 27 15:12:17 2018 +0300 (2018-04-27) |
parents | 90a5eb560fd6 |
children | 68405ac5fe8a |
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 fix libtool &&
22 make &&
23 make DESTDIR=$install 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 }