wok annotate mxml/receipt @ rev 25797
created recipe for garcon-lang
author | Hans-G?nter Theisgen |
---|---|
date | Wed Oct 23 17:04:51 2024 +0100 (7 weeks ago) |
parents | 11be4606a492 |
children |
rev | line source |
---|---|
pascal@17043 | 1 # SliTaz package receipt. |
pascal@17043 | 2 |
pascal@17043 | 3 PACKAGE="mxml" |
Hans-G?nter@24935 | 4 VERSION="3.3" |
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" |
Hans-G?nter@24935 | 9 WEB_SITE="https://www.msweet.org/mxml/" |
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@25600 | 17 # What is the latest version available today? |
pascal@24055 | 18 current_version() |
pascal@24055 | 19 { |
pascal@24055 | 20 wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ |
pascal@25600 | 21 sed '/tag\//!d;s|.*tag/v*||;s|".*||;q' |
pascal@24055 | 22 } |
pascal@24055 | 23 |
pascal@17043 | 24 # Rules to configure and make the package. |
pascal@17043 | 25 compile_rules() |
pascal@17043 | 26 { |
Hans-G?nter@23208 | 27 ./configure \ |
Hans-G?nter@23208 | 28 --prefix=/usr \ |
pascal@17043 | 29 $CONFIGURE_ARGS && |
pascal@17043 | 30 make && |
Hans-G?nter@24935 | 31 make install DESTDIR=$DESTDIR |
pascal@17043 | 32 } |
pascal@17043 | 33 |
pascal@17043 | 34 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@17043 | 35 genpkg_rules() |
pascal@17043 | 36 { |
pascal@17043 | 37 mkdir -p $fs/usr/lib |
Hans-G?nter@23208 | 38 cp -a $src/libmxml.so* $fs/usr/lib |
pascal@17043 | 39 } |