wok-next annotate expat/receipt @ rev 20564

shell-detector, screenfetch: create $install tree
author Pascal Bellard <pascal.bellard@slitaz.org>
date Tue Apr 10 10:14:26 2018 +0200 (2018-04-10)
parents 9278a60d6895
children 835b3b8ce6ac
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@20436 21 make && make DESTDIR=$install install || return 1
al@19572 22
al@20436 23 cook_pick_docs doc/*.html doc/*.css doc/*.png
pankso@34 24 }
pankso@34 25
al@20436 26 genpkg_rules() {
al@19741 27 case $PACKAGE in
al@20436 28 expat)
al@20436 29 copy @std
al@20436 30 TAGS="LFS"
al@20436 31 ;;
al@20436 32 *-dev) copy @dev;;
al@19741 33 esac
pankso@34 34 }