diff options
Diffstat (limited to 'sci-mathematics/glpk')
-rw-r--r-- | sci-mathematics/glpk/Manifest | 2 | ||||
-rw-r--r-- | sci-mathematics/glpk/glpk-5.0-r1.ebuild (renamed from sci-mathematics/glpk/glpk-5.0.ebuild) | 16 |
2 files changed, 17 insertions, 1 deletions
diff --git a/sci-mathematics/glpk/Manifest b/sci-mathematics/glpk/Manifest index 60f3ff4beb61..cd18f8668205 100644 --- a/sci-mathematics/glpk/Manifest +++ b/sci-mathematics/glpk/Manifest @@ -4,5 +4,5 @@ AUX glpk-4.65-longstep_verbosity.patch 844 BLAKE2B c1d14e6dfd596694bf1da06012971 DIST glpk-4.65.tar.gz 4167110 BLAKE2B 4ccb5cd8301bdca2ccdecfc1648642afe26ff0a1ee9a75cb5a3906838086e5c41edfb16e7c55f4ad677d192f6a66b866f2d917c5be7103da7141bfb1f74e636b SHA512 997e8e599ff1718a08c66b86eadd0e01f4644899f1e95920f8ae91d66b4d8361021766b346845f4dcbcfe667b41ab72ea3d377017a0ebf85d7ece091cfd81375 DIST glpk-5.0.tar.gz 4132649 BLAKE2B f8204f66a97af950c13ee72ee9541f305745741d1231325670ede14663cb6c28ec6fbc44b3625973f1924ca078183d1d43f494ad43a7b48b45be131882b00001 SHA512 4e92195fa058c707146f2690f3a38b46c33add948c852f67659ca005a6aa980bbf97be96528b0f8391690facb880ac2126cd60198c6c175e7f3f06cca7e29f9d EBUILD glpk-4.65.ebuild 1821 BLAKE2B 47fa4cb29950a15f1293571e82a5780b64d486b5cb3fef2ff7f1cf948122282bba52dc123287eb8e6e12e9d3bf48f4addd1063d92f9d0e3372141a5adba82f98 SHA512 159df1be098e9fee4297e150a7656ff1b129145fe7aa744fb6627863ce2628077cde4e5442dd7266f4abfc342303872e50d7c69d19d1c5758fa2cb922f2fab35 -EBUILD glpk-5.0.ebuild 1777 BLAKE2B fd7ba55232ce43c35629ceec7e94ec1d4341011645413ece49a2b14d3ba7a2b33bc1deaab856dc5f4a26c3a52d8c0aa5506616d97381aa5ae542e5d843b034b4 SHA512 1aa39abacb43a26277fd782078cdece8e95d56144432679adb66fb0ed09e26a9d0419043cd504d2b25b65876028523a304ca63239cee1cd9365aadd8c77977eb +EBUILD glpk-5.0-r1.ebuild 2329 BLAKE2B ba339c80c007b8880a0b9f2ace42aa1639acee1aee03d4c9f9c35cda190d6fc1b94c7a34d75dc240770143faeb15f3e4f6b4653da45eea19e20d863cb1087097 SHA512 a5cc73dac8f85f90d3b246ce73b41a5afb56cb6e83bd0ec1152f8e109fbd1683c007ee475b82452260abf85f4acb1af14346874fd58be2b8e99fac43a9cf9b33 MISC metadata.xml 1028 BLAKE2B 01e42a8b9c7ec521837e6a21d212ce7c747d47fcdaa47b58ac0bf411c158155caefc316f71f2f495244f559cb77de428954d293efde12cbd4418c9dfad3893a9 SHA512 1c7e827666da76204db3894e0d5bdc7ba253152935fe214445ada4f1d6876cff44b3092fc736c8da9fb915d80479a600175e579e71cfcd817e5e52065ae6446c diff --git a/sci-mathematics/glpk/glpk-5.0.ebuild b/sci-mathematics/glpk/glpk-5.0-r1.ebuild index c91cdf6a34ae..8bf55ceb4aa2 100644 --- a/sci-mathematics/glpk/glpk-5.0.ebuild +++ b/sci-mathematics/glpk/glpk-5.0-r1.ebuild @@ -44,6 +44,7 @@ src_prepare() { append-cppflags $($(tc-getPKG_CONFIG) --cflags libiodbc) default + eautoreconf } @@ -64,11 +65,26 @@ src_configure() { src_install() { default + if use examples; then + # The top-level Makefile descends into the "examples" directory + # unconditionally, building a program and excreting build + # artifacts that we don't want to install. Note: this still + # leaves the example program /usr/bin/glpsol installed. An + # additional "emake ... uninstall" could probably take care + # of that if desired. + emake -C examples clean + + # Installing the Makefiles for the examples does the user no + # good without the top-level Makefile. + rm examples/Makefile{.in,.am,} \ + || die "failed to remove example Makefiles" + insinto "/usr/share/doc/${PF}" doins -r examples docompress -x "/usr/share/doc/${PF}/examples" fi + use doc && dodoc doc/*.pdf doc/notes/*.pdf doc/*.txt # no static archives |