# SliTaz package receipt. PACKAGE="mxml" VERSION="3.3" CATEGORY="system-tools" SHORT_DESC="Minimal XML - Dom oriented library." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="LGPL2" WEB_SITE="https://www.msweet.org/mxml/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/michaelrsweet/$PACKAGE/archive/v$VERSION.tar.gz" DEPENDS="" BUILD_DEPENDS="" current_version() { wget -O - ${WGET_URL%/arch*}/releases 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { ./configure \ --prefix=/usr \ $CONFIGURE_ARGS && make && make install DESTDIR=$DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $src/libmxml.so* $fs/usr/lib }