# HG changeset patch # User Paul Issott # Date 1440620787 -3600 # Node ID 0004efa67ce4e26f98beea2fd626bad929bc60e4 # Parent 7384efde91bfc8fe3c61424bcffb4244d9bc6da5 Add pyhn diff -r 7384efde91bf -r 0004efa67ce4 pyhn/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/pyhn/receipt Wed Aug 26 21:26:27 2015 +0100 @@ -0,0 +1,27 @@ +# SliTaz package receipt. + +PACKAGE="pyhn" +VERSION="26082015" +CATEGORY="utilities" +SHORT_DESC="Hacker news command line client." +MAINTAINER="paul@slitaz.org" +LICENSE="MIT" +WEB_SITE="https://github.com/socketubs/pyhn" +TARBALL="$PACKAGE-$VERSION.tar.bz2" +WGET_URL="git|git://github.com/socketubs/pyhn" + +DEPENDS="python python-urwid" +BUILD_DEPENDS="python-dev python-urwid git bzip2" + +# Rules to configure and make the package. +compile_rules() +{ + python setup.py install --root=$DESTDIR +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/usr $fs +} +