wok-current annotate mxml/receipt @ rev 25637

Add miss new packages (Py3Qt-x11-gpl and pycairo118)
author Stanislas Leduc <shann@slitaz.org>
date Mon Jan 15 22:12:34 2024 +0000 (11 months ago)
parents 5ea0ce1cecc0
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@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 &&
Hans-G?nter@24935 30 make install DESTDIR=$DESTDIR
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 }