# SliTaz package receipt. PACKAGE="xar" VERSION="1.6.1" CATEGORY="utilities" SHORT_DESC="eXtensible ARchiver." MAINTAINER="al.bobylev@gmail.com" LICENSE="BSD" WEB_SITE="https://mackyle.github.io/xar/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="https://github.com/downloads/mackyle/xar/$TARBALL" DEPENDS="acl attr bzlib glibc-base libcrypto liblzma libxml2 zlib" BUILD_DEPENDS="bzip2-dev liblzma-dev openssl-dev zlib-dev" current_version() { wget -O - https://github.com/mackyle/xar/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/xar-\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { ./configure $CONFIGURE_ARGS && make && make install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib mkdir -p $fs/usr/share/mime/packages cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib/*.so* $fs/usr/lib }