| Summary: | New package: games-misc/bsod: A little console tool for emulating windows XP's 'blue screen of death' | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Livid <g.livid> |
| Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | ssuominen |
| Priority: | Lowest | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://www.vanheusden.com/bsod/ | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
Ebuild for v0.1
Patch for Makefile so that it intalls in /usr/bin instead of /usr/local/bin. Used by ebuild. Ebuild for v0.1 take two bsod-0.1-prefix.patch bsod-0.1.ebuild Take three |
||
|
Description
Livid
2009-06-23 19:13:24 UTC
Created attachment 195588 [details]
Ebuild for v0.1
Created attachment 195589 [details, diff]
Patch for Makefile so that it intalls in /usr/bin instead of /usr/local/bin. Used by ebuild.
Created attachment 195591 [details]
Ebuild for v0.1 take two
Oops. Forgot to add ~x86 to keywords.
LICENSE should be GPL-2, not GPLv2 <http://devmanual.gentoo.org/general-concepts/licenses/index.html>. Traditionally, KEYWORDS is alphabetized, so you should move amd64 to appear before x86. Attachment #195591 [details] declares functions using: function foo { } Usually, ebuilds declare functions using: foo() { } src_prepare starts in $S, so you do not need to cd to it <http://devmanual.gentoo.org/ebuild-writing/eapi/index.html#phases>. Similarly, src_install starts in $S if it is a directory. Given the simplicity of the installation process, you may be better off dropping the Makefile patch and instead installing the finished file directly from src_install using the installation helper functions <http://devmanual.gentoo.org/function-reference/install-functions/index.html>. Created attachment 195647 [details, diff]
bsod-0.1-prefix.patch
Another trial of fixing the hardcoded paths in the app's Makefile
Created attachment 195648 [details]
bsod-0.1.ebuild
This is the ebuild that I used to install the package
Created attachment 195674 [details]
Take three
I tried to fix whatever was wrong with this ebuild. So goes take three.
No patch, no src_prepare, no EAPI=2, and doc USE-flag.
Should work out, I think.
Thanks for your notes, Kevin.
Looking good, last ebuild works flawlessly, good to be included imho! games-misc/bsod-0.1 in tree, silly little app :-p |