| Summary: | NWN Community Expansion Pack ebuild request | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Julien Allanos (RETIRED) <dju> |
| Component: | [OLD] Games | Assignee: | Gentoo Games <games> |
| Status: | RESOLVED FIXED | ||
| Severity: | enhancement | CC: | dante333, keri, kzimmerm, m.debruijne |
| Priority: | High | ||
| Version: | unspecified | ||
| Hardware: | All | ||
| OS: | All | ||
| URL: | http://nwn.bioware.com/players/cep.html | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Bug Depends on: | 66932 | ||
| Bug Blocks: | |||
| Attachments: |
nwn-cep-1.5.ebuild
nwn-cep-1.50.ebuild nwn-cep-1.50.ebuild digest-nwn-cep-1.50 |
||
|
Description
Julien Allanos (RETIRED)
2004-10-21 23:47:27 UTC
Created attachment 43794 [details]
nwn-cep-1.5.ebuild
This little fellow should fix the bug. I'm not pretty shure that using "doins"
is a wise idea. "mv" could do this a lot faster (if they are in the same fs).
However, I decided to have a good looking ebuild instead of performance :)
kai
I should mention that the proposed ebuild depends on nwn-1.64, so there is a new dependency to this bug. kai Works for me on x86. Thank you for the good work. Created attachment 47197 [details]
nwn-cep-1.50.ebuild
please try this version
we tend to use 'mv' instead of 'doins' when dealing with large games ... saves
on space / speed
also, you should note that `doins` can take multiple arguements, so you could
have just done `doins *.hak`
SpanKY, your ebuild does not install files into their respective directories:
- *.hak files need to go into "${GAMES_PREFIX_OPT}/nwn/hak/"
- Live/* files also need to go into "${GAMES_PREFIX_OPT}/nwn/hak/"
- cep.tlk needs to go into "${GAMES_PREFIX_OPT}/nwn/tlk/"
- *.mod files need to go into "${GAMES_PREFIX_OPT}/nwn/modules/"
- *.pdf and *.txt files could go into "${GAMES_PREFIX_OPT}/nwn/cep/" ?
The rar file also contains SoU/* and HotU/* hak files. These are used instead of the Live/* hak files only in the case that the user has the SoU or HotU expansion packs.
It may be worthwhile to install these somewhere ("${GAMES_PREFIX_OPT}/nwn/cep/" ?) and instruct the user where to move them in the event they obtain the expansion packs.
Created attachment 49012 [details]
nwn-cep-1.50.ebuild
try this then please
Thanks SpanKY. The only change I had to make was 'unrar x ${DISTDIR}/${A}' in src_unpack.
Other than that, the ebuild installs everything appropriately.
awesome :) if you could post the digest file for the ebuild, i'll add this to portage ... Created attachment 49016 [details]
digest-nwn-cep-1.50
now in portage, thanks ! :) |