diff --git a/qtmindmap-0.2.ebuild b/qtmindmap-0.2.ebuild new file mode 100644 index 0000000..c0c3e3f --- /dev/null +++ b/qtmindmap-0.2.ebuild @@ -0,0 +1,35 @@ +SLOT="0" +KEYWORDS="~x86" + +EAPI="3" +inherit qt4-r2 +LANGS="hu" +IUSE="linguas_hu" + +DESCRIPTION="MindMap software written in Qt" +HOMEPAGE="https://gitorious.org/qtmindmap" +SRC_URI="http://matetelki.com/qtmindmap/qtmindmap-qtmindmap-master.tar.gz" +LICENSE="GPL-2" + +DEPEND=">=x11-libs/qt-core-4.6 + >=x11-libs/qt-gui-4.6 + >=x11-libs/qt-svg-4.6 + >=x11-libs/qt-test-4.6 + >=x11-libs/qt-xmlpatterns-4.6" + +RDEPEND="${DEPEND}" + +src_configure() { + eqmake4 "${S}"/qtmindmap-qtmindmap/qtmindmap.pro +} + +src_install() { + echo "hello" + ls + ls -R + ls ../ -R + # do normal installation + # qt4-r2_src_install + # Install translations + # TODO how? +} \ No newline at end of file diff --git a/qtmindmap.ebuild b/qtmindmap.ebuild deleted file mode 100644 index 9ec0806..0000000 --- a/qtmindmap.ebuild +++ /dev/null @@ -1,20 +0,0 @@ -DESCRIPTION="MindMap software written in Qt" -HOMEPAGE="https://gitorious.org/qtmindmap" -SRC_URI="http://matetelki.com/qtmindmap/qtmindmap-qtmindmap-master.tar.gz" -LICENSE="GPL-2" - -SLOT="0" -KEYWORDS="~x86" -IUSE="" - -DEPEND=">=x11-libs/qt-core-4.6" -RDEPEND="${DEPEND}" - -src_compile() { - qmake qtmindmap.pro - emake || die "emake failed" -} - -src_install() { - emake DESTDIR="${D}" install || die "emake install failed" -} \ No newline at end of file diff --git a/qtmindmap.pro b/qtmindmap.pro index 0c82005..7d48db6 100644 --- a/qtmindmap.pro +++ b/qtmindmap.pro @@ -32,5 +32,3 @@ RESOURCES = qtmindmap.qrc TRANSLATIONS = qtmindmap_hu.ts CODECFORTR = UTF-8 - -DESTDIR = /usr/bin