wok-next annotate expat/receipt @ rev 20569
Fix libtool where applicable (a*-f* packages yet); combine collectd* receipts
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Apr 13 07:14:16 2018 +0300 (2018-04-13) |
parents | 90a5eb560fd6 |
children | 68405ac5fe8a |
rev | line source |
---|---|
al@19741 | 1 # SliTaz package receipt v2. |
pankso@34 | 2 |
pankso@34 | 3 PACKAGE="expat" |
al@20436 | 4 VERSION="2.2.3" |
pankso@34 | 5 CATEGORY="x-window" |
al@17992 | 6 SHORT_DESC="XML parsing C library" |
pankso@34 | 7 MAINTAINER="pankso@slitaz.org" |
pascal@15588 | 8 LICENSE="MIT" |
al@19741 | 9 WEB_SITE="https://libexpat.github.io/" |
al@20436 | 10 LFS="http://www.linuxfromscratch.org/lfs/view/stable/chapter06/expat.html" |
al@19572 | 11 |
al@19572 | 12 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
pankso@34 | 13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL" |
pankso@34 | 14 |
al@19741 | 15 SPLIT="expat-dev" |
al@19741 | 16 |
al@20436 | 17 compile_rules() { |
al@19572 | 18 ./configure \ |
al@19572 | 19 --disable-static \ |
al@19572 | 20 $CONFIGURE_ARGS && |
al@20569 | 21 fix libtool && |
al@20569 | 22 make && |
al@20569 | 23 make DESTDIR=$install install || return 1 |
al@19572 | 24 |
al@20436 | 25 cook_pick_docs doc/*.html doc/*.css doc/*.png |
pankso@34 | 26 } |
pankso@34 | 27 |
al@20436 | 28 genpkg_rules() { |
al@19741 | 29 case $PACKAGE in |
al@20436 | 30 expat) |
al@20436 | 31 copy @std |
al@20436 | 32 TAGS="LFS" |
al@20436 | 33 ;; |
al@20436 | 34 *-dev) copy @dev;; |
al@19741 | 35 esac |
pankso@34 | 36 } |