# SliTaz package receipt. PACKAGE="memo" VERSION="1.0" CATEGORY="office" SHORT_DESC="Memo is a command line, Unix-style note-taking software." MAINTAINER="paul@slitaz.org" TARBALL="$PACKAGE-$VERSION.tar.gz" LICENSE="GPL3" WEB_SITE="https://github.com/mrVanDalo/memo" WGET_URL="https://download.tuxfamily.org/slitaz/sources/packages-cooking/${TARBALL:0:1}/$TARBALL" DEPENDS="ncurses" BUILD_DEPENDS="ncurses-dev" # What is the latest version available today? current_version() { wget -O - https://github.com/anttiviljami/memo/tags 2>/dev/null | \ sed '/archive.*tar/!d;s|.*/[A-Za-z_-]*\(.*\).tar.*|\1|;q' } # 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 }