add pdftoipe-20110517
[shuber-gentoo-overlay.git] / media-gfx / pdftoipe / pdftoipe-20110116.ebuild
index 09a085d..c015a4f 100644 (file)
@@ -6,7 +6,7 @@ EAPI=3
 
 DESCRIPTION="Converts pdf files to Ipe xml files"
 HOMEPAGE="http://ipe7.sourceforge.net/"
-SRC_URI="http://sourceforge.net/projects/ipe7/files/tools/${P}.tar.gz/download
+SRC_URI="http://sourceforge.net/projects/ipe7/files%2Fzzz_archived_files%2F${P}.tar.gz/download
                -> ${P}.tar.gz"
 
 LICENSE="GPL-3"
@@ -24,10 +24,9 @@ src_compile() {
 }
 
 src_install() {
-       base=$WORKDIR/${P}
        exeinto /usr/bin/
-       doexe $base/pdftoipe
-       doman $base/pdftoipe.1
+       doexe $S/pdftoipe
+       doman $S/pdftoipe.1
 }