diff options
Diffstat (limited to 'app-misc/endeavour/endeavour-2.7.3.ebuild')
-rw-r--r-- | app-misc/endeavour/endeavour-2.7.3.ebuild | 18 |
1 files changed, 10 insertions, 8 deletions
diff --git a/app-misc/endeavour/endeavour-2.7.3.ebuild b/app-misc/endeavour/endeavour-2.7.3.ebuild index bb7f602..742cbd0 100644 --- a/app-misc/endeavour/endeavour-2.7.3.ebuild +++ b/app-misc/endeavour/endeavour-2.7.3.ebuild @@ -28,36 +28,38 @@ src_unpack() { epatch "${FILESDIR}/${P}-amd64-gtk-flags.patch" \ "${FILESDIR}"/${P}-asneeded.patch + + sed -i '/Linking modules.../{n;s/$(CPP)/$(CPP) $(LDFLAGS)/}' \ + endeavour2/makefile_append.ini || die } src_compile() { ./configure Linux --prefix=/usr $(use_enable joystick libjsw) || die - sed -i '/Linking modules.../{n;s/$(CPP)/$(CPP) $(LDFLAGS)/}' endeavour2/Makefile || die emake CC=$(tc-getCC) CPP=$(tc-getCXX) || die "Parallel make failed" } src_install() { - dodoc AUTHORS HACKING README TODO + dodoc AUTHORS HACKING README TODO || die cd endeavour2 dobin endeavour2 || die bunzip2 endeavour2.1.bz2 - doman endeavour2.1 + doman endeavour2.1 || die - dodir /usr/share/endeavour2 + dodir /usr/share/endeavour2 || die cp -R data/* "${D}"/usr/share/endeavour2 || die - dodir /usr/share/endeavour2/icons/ + dodir /usr/share/endeavour2/icons/ || die cp -R images/* "${D}"/usr/share/endeavour2/icons/ cd images insinto /usr/share/icons doins endeavour_48x48.xpm image_browser_48x48.xpm icon_trash_48x48.xpm \ - icon_trash_empty_48x48.xpm + icon_trash_empty_48x48.xpm || die # install mimetypes cd "${WORKDIR}"/${M} mv README README.mimetypes - dodoc README.mimetypes + dodoc README.mimetypes || die insinto /usr/share/endeavour2/ - doins mimetypes.ini + doins mimetypes.ini || die } |