dev-libs/libunicode: [QA] Minor touchups
authorDavid Seifert <soap@gentoo.org>
Fri, 12 Jan 2018 09:06:49 +0000 (10:06 +0100)
committerDavid Seifert <soap@gentoo.org>
Fri, 12 Jan 2018 09:07:16 +0000 (10:07 +0100)
* Avoid installing static libs
* Remove .la files
* Remove old src_install that shadows
  the same default one in EAPI 6

Package-Manager: Portage-2.3.19, Repoman-2.3.6

dev-libs/libunicode/libunicode-0.4-r2.ebuild

index 88dcbf104bb16aa49b0610487313451705b4929f..ffece83e3936eb815845f714cfa3f645de62f30e 100644 (file)
@@ -19,10 +19,17 @@ src_prepare() {
        # The build system is too old, regenerate here to fix crossbuild and
        # respect LDFLAGS and probably other problems too.
        sed -i -e "/testsuite/d" configure.in || die
+       mv configure.{in,ac} || die
        eautoreconf
 }
 
+src_configure() {
+       econf --disable-static
+}
+
 src_install() {
-       emake DESTDIR="${D}" install
-       dodoc AUTHORS ChangeLog NEWS README THANKS TODO
+       default
+
+       # no static libs installed
+       find "${D}" -name '*.la' -delete || die
 }