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