wok view mxml/receipt @ rev 24295
Up ventoy (1.0.64)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 14 17:35:36 2022 +0000 (2022-01-14) |
parents | e0b334d648d0 |
children | 11be4606a492 |
line source
1 # SliTaz package receipt.
3 PACKAGE="mxml"
4 VERSION="3.1"
5 CATEGORY="system-tools"
6 SHORT_DESC="Minimal XML - Dom oriented library."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="LGPL2"
9 WEB_SITE="http://www.minixml.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="https://github.com/michaelrsweet/$PACKAGE/archive/v$VERSION.tar.gz"
14 DEPENDS=""
15 BUILD_DEPENDS=""
17 current_version()
18 {
19 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \
20 sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q'
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 ./configure \
27 --prefix=/usr \
28 $CONFIGURE_ARGS &&
29 make &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib
37 cp -a $src/libmxml.so* $fs/usr/lib
38 }