Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
Browse files

README.rst: added quickstart notes

Signed-off-by: Sergei Trofimovich <slyfox@gentoo.org>
  • Loading branch information...
commit ab0cf4d8b7d85b1db66ec8d13d94c3ea80cda14e 1 parent 5067f49
@trofi trofi authored
Showing with 21 additions and 1 deletion.
  1. +21 −1 README.rst
View
22 README.rst
@@ -11,13 +11,33 @@ The main purpose for Hackport is to interact with Hackage and create
Ebuilds from Cabal packages. It also does handy functions to compare
hackage, the overlay and the portage tree.
+Quick start
+-----------
+
+1. Build hackport binary by hand (or install it from haskell overlay).
+2. Setup hackport database into overlay you plan to merge new ebuilds:
+
+ $ mkdir ~/overlays
+ $ cd ~/overlays
+ $ git clone git clone git://github.com/gentoo-haskell/gentoo-haskell.git
+ $ cd gentoo-haskell
+ $ hackport update
+ $ ls -1 .hackport/
+ 00-index.tar
+ 00-index.tar.gz
+
+3. Add your ~/overlays/gentoo-haskell to PORTDIR_OVERLAY in /etc/make.conf.
+
+Done! Now you can `hackport merge <package-name>` to get an ebuild merged to
+your overlay!
+
Features
--------
'hackport update'
Update the local copy of hackage's package list. You should run this
every once in a while to get a more recent copy.
-
+
'hackport list [FILTER]'
Print packages from hackage, with an optional substring matching.
Please sign in to comment.
Something went wrong with that request. Please try again.