Skip to content

Commit

Permalink
Merge pull request #746 from mariux64/add-libpng12_compat
Browse files Browse the repository at this point in the history
Add libpng12 back in the system
  • Loading branch information
pmenzel authored Apr 26, 2018
2 parents 1dec75f + b312420 commit 7684473
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 7684473

Please sign in to comment.