# SliTaz package receipt. PACKAGE="unibilium" VERSION="2.1.1" CATEGORY="libs" TAGS="terminfo" SHORT_DESC="Terminfo parsing library." MAINTAINER="maintainer@slitaz.org" LICENSE="LGPL-3+" WEB_SITE="https://github.com/neovim/unibilium/" TARBALL="$PACKAGE-$VERSION.tar.gz" WGET_URL="${WEB_SITE}archive/v$VERSION.tar.gz" BUILD_DEPENDS="libtool perl" # What is the latest version available today? 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() { make PREFIX=/usr && make install PREFIX=/usr } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { cook_copy_files *.so* }