Skip to content

Commit

Permalink
libpng15_compat: only install shared libraries
Browse files Browse the repository at this point in the history
Removing the includes inhibits building with the outdated
libpng15.

Be aware that some (also outdated) projects won't compile
anymore if the build 'requires' libpng15. This is caused
by packages that still refer to libpng15 in their
pkgconfig/*pc files.
  • Loading branch information
thomas committed Jun 12, 2018
1 parent cab73ad commit 0bf9109
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions libpng15_compat.be0
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
#!/usr/bin/env beesh

# BEE_VERSION libpng15_compat-1.5.30-0
# BEE_VERSION libpng15_compat-1.5.30-1

SRCURL[0]="https://downloads.sourceforge.net/project/libpng/${PKGNAME}/${PKGVERSION}/libpng-${PKGVERSION}.tar.xz"

Expand All @@ -19,10 +19,10 @@ mee_install_post() {
fi

start_cmd rm -f ${D}${BINDIR}/libpng-config
start_cmd rm -f ${D}${INCLUDEDIR}/png.h
start_cmd rm -f ${D}${INCLUDEDIR}/pngconf.h
start_cmd rm -f ${D}${INCLUDEDIR}/pnglibconf.h
start_cmd rm -f ${D}${BINDIR}/libpng15-config
start_cmd rm -fr ${D}${INCLUDEDIR}
start_cmd rm -f ${D}${LIBDIR}/libpng.so
start_cmd rm -f ${D}${LIBDIR}/pkgconfig/libpng.pc
start_cmd rm -f ${D}${LIBDIR}/pkgconfig/libpng15.pc
start_cmd rm -fr ${D}${MANDIR}
}

0 comments on commit 0bf9109

Please sign in to comment.