# SliTaz package receipt. PACKAGE="libmspack" VERSION="0.10.1" CATEGORY="development" SHORT_DESC="A library which allows extracting from MS CAB files." MAINTAINER="nneul@neulinger.org" LICENSE="LGPL" WEB_SITE="https://www.cabextract.org.uk/libmspack/" TARBALL="$PACKAGE-${VERSION}alpha.tar.gz" WGET_URL="https://www.cabextract.org.uk/$PACKAGE/$TARBALL" # What is the latest version available today? current_version() { wget -O - https://github.com/kyz/libmspack/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/v*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make -j 1 && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib cp -a $install/usr/lib/*.so* $fs/usr/lib }