| Summary: | dev-libs/concorde-03.12.19 - a computer code for the symmetric traveling salesman problem (TSP) and some related network optimization problems | ||
|---|---|---|---|
| Product: | Gentoo Linux | Reporter: | Petr Vaněk <arkamar> |
| Component: | New packages | Assignee: | Default Assignee for New Packages <maintainer-wanted> |
| Status: | RESOLVED OBSOLETE | ||
| Severity: | enhancement | CC: | arkamar, bicatali, ryao |
| Priority: | Normal | Keywords: | EBUILD |
| Version: | unspecified | ||
| Hardware: | AMD64 | ||
| OS: | Linux | ||
| URL: | http://www.math.uwaterloo.ca/tsp/concorde.html | ||
| Whiteboard: | |||
| Package list: | Runtime testing required: | --- | |
| Attachments: |
concorde-03.12.19.ebuild
concorde-03.12.19.ebuild |
||
|
Description
Petr Vaněk
2014-08-07 10:53:07 UTC
Comment on attachment 382442 [details] concorde-03.12.19.ebuild >src_unpack() { > unpack "${A}" > cd ${WORKDIR} > mv concorde "${P}" >} Alternatively, set S="${WORKDIR}"/... properly, or do the mv in src_prepare() instead. >src_install() { > dolib.a concorde.a USE=static-libs? Can it be persuaded to build a shared library instead? > doheader concorde.h > dobin EDGEGEN/edgegen > dobin CUT/mincut > dobin FMATCH/fmatch > dobin LINKERN/linkern > dobin LOCALCUT/localcut dobin can take multiple arguments, so a single call should suffice. > use randtsp && { if use ...; then > sed -i 's/nawk/awk/' TINY/randtsp.awk > dobin TINY/randtsp.awk > } > dobin TOOLS/{edg2len,edgunion,fconvert,prob2tsp,showres,tourchk,tourlen} > dobin TSP/concorde Same. Created attachment 382488 [details]
concorde-03.12.19.ebuild
Hi, thanks for comments. I changed the ebuild according to suggestions. All Makefiles generate static libraries and then the concorde.a but without any options to make shared one. I don't see any easy (sed like) solution of this. Petr It seems that no one needs that and I don't use it anymore. |