wok-next annotate expat/receipt @ rev 19861
Up tazlito
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Sep 08 14:25:24 2017 +0300 (2017-09-08) |
parents | c740762c8991 |
children | 90a5eb560fd6 |
rev | line source |
---|---|
al@19741 | 1 # SliTaz package receipt v2. |
pankso@34 | 2 |
pankso@34 | 3 PACKAGE="expat" |
al@19572 | 4 VERSION="2.2.0" |
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@19572 | 10 HOST_ARCH="i486 arm" |
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 |
pankso@34 | 17 # Rules to configure and make the package. |
pankso@34 | 18 compile_rules() |
pankso@34 | 19 { |
al@19572 | 20 ./configure \ |
al@19572 | 21 --disable-static \ |
al@19572 | 22 $CONFIGURE_ARGS && |
al@19572 | 23 make && make DESTDIR=$install install |
al@19572 | 24 |
al@19572 | 25 docdir="$install/usr/share/doc/expat-$VERSION" |
al@19572 | 26 mkdir -p $docdir; cp doc/* $docdir; rm $docdir/*.1 |
pankso@34 | 27 } |
pankso@34 | 28 |
pankso@34 | 29 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@34 | 30 genpkg_rules() |
pankso@34 | 31 { |
al@19741 | 32 case $PACKAGE in |
al@19741 | 33 expat) copy @std ;; |
al@19741 | 34 expat-dev) copy @dev ;; |
al@19741 | 35 esac |
pankso@34 | 36 } |