wok-6.x view mxml/receipt @ rev 24134
Up lzsa (1.3.8)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Oct 28 18:03:20 2021 +0000 (2021-10-28) |
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 }