# SliTaz package receipt. PACKAGE="kilo" VERSION="15072016" CATEGORY="office" SHORT_DESC="A text editor in less than 1000 LOC with syntax highlight and search." MAINTAINER="paul@slitaz.org" LICENSE="BSD" TARBALL="$PACKAGE-$VERSION.tar.bz2" WEB_SITE="https://github.com/antirez/kilo" WGET_URL="git|git://github.com/antirez/kilo" #DEPENDS="" BUILD_DEPENDS="git bzip2" # What is the latest version available today? current_version() { wget -O - https://github.com/antirez/kilo/commits/master 2>/dev/null | \ sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d } # Rules to configure and make the package. compile_rules() { make } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/bin cp -a $src/$PACKAGE $fs/usr/bin }