# SliTaz package receipt. PACKAGE="dotconf" VERSION="1.3" CATEGORY="development" SHORT_DESC="Configuration file parser library." MAINTAINER="paul@slitaz.org" LICENSE="LGPL2.1" WEB_SITE="https://github.com/williamh/dotconf" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="$WEB_SITE/archive/v${VERSION%}/$TARBALL" DEPENDS="" BUILD_DEPENDS="libtool" # What is the latest version available today? current_version() { wget -O - $WEB_SITE/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' } # Rules to configure and make the package. compile_rules() { autoreconf --install && ./configure \ --prefix=/usr \ --infodir=/usr/share/info \ --mandir=/usr/share/man \ $CONFIGURE_ARGS && make && make DESTDIR=$DESTDIR install } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/lib # cp -a $install/usr/bin $fs/usr cp -a $install/usr/lib/*.so* $fs/usr/lib cp -a $install/usr/share $fs/usr }