Skip to content

Commit

Permalink
libpng12: back in the system
Browse files Browse the repository at this point in the history
too many gtk2 stuff need this lib
and the diskcheck website need it also
  • Loading branch information
david committed Apr 26, 2018
1 parent 981daf7 commit b312420
Showing 1 changed file with 25 additions and 0 deletions.
25 changes: 25 additions & 0 deletions libpng12_compat-1.2.49-4.bee
Original file line number Diff line number Diff line change
@@ -0,0 +1,25 @@
#!/usr/bin/env beesh

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

PATCHURL[0]="http://downloads.sourceforge.net/project/libpng-apng/${PKGNAME}/${PKGVERSION}/libpng-${PKGVERSION}-apng.patch.gz"

BEE_BUILDTYPE=configure

mee_configure() {
bee_configure \
--disable-static
}

mee_install_post() {
if [ "${PKGEXTRANAME}" != "compat" ] ; then
return
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}${LIBDIR}/libpng.so
start_cmd rm -f ${D}${LIBDIR}/pkgconfig/libpng.pc
start_cmd rm -fr ${D}${MANDIR}
}

0 comments on commit b312420

Please sign in to comment.