Commits

Mike Gilbert committed 544c2f3

Update heimdall

Comments (0)

Files changed (1)

app-mobilephone/heimdall/heimdall-9999.ebuild

 # Distributed under the terms of the GNU General Public License v2
 # $Header: $
 
-EAPI=4
+EAPI=5
 
 inherit autotools eutils qt4-r2 git-2 udev
 
 KEYWORDS=""
 IUSE="qt4"
 
-RDEPEND="virtual/libusb:1
-	qt4? ( dev-qt/qtcore dev-qt/qtgui )"
+RDEPEND="dev-libs/libusbx:1=
+	qt4? ( dev-qt/qtcore:4= dev-qt/qtgui:4= )"
 DEPEND="${RDEPEND}
 	virtual/pkgconfig"
 
 }
 
 src_compile() {
-	cd "${S}/libpit" || die
-	emake
-
-	cd "${S}/heimdall" || die
-	emake
+	emake -C libpit
+	emake -C heimdall
 
 	if use qt4; then
 		cd "${S}/heimdall-frontend" || die
 }
 
 src_install() {
+	emake -C heimdall DESTDIR="${D}" udevrulesdir="$(get_udevdir)/rules.d" install
 	dodoc Linux/README
 
-	cd "${S}/heimdall" || die
-	emake DESTDIR="${D}" udevrulesdir="$(get_udevdir)/rules.d" install
-
 	if use qt4; then
 		cd "${S}/heimdall-frontend" || die
 		emake INSTALL_ROOT="${D}" install