diff options
author | Jakov Smolić <jsmolic@gentoo.org> | 2021-12-16 19:14:36 +0100 |
---|---|---|
committer | Jakov Smolić <jsmolic@gentoo.org> | 2021-12-16 19:14:36 +0100 |
commit | aab18af444949fc9f926700ae5fd22da5168e35e (patch) | |
tree | 53a4fdaf966fa9da22a41cb5c332fba45a888256 /media-libs/pnglite | |
parent | media-libs/zvbi: Drop EAPI-5 ebuild (diff) | |
download | gentoo-aab18af444949fc9f926700ae5fd22da5168e35e.tar.gz gentoo-aab18af444949fc9f926700ae5fd22da5168e35e.tar.bz2 gentoo-aab18af444949fc9f926700ae5fd22da5168e35e.zip |
media-libs/pnglite: Drop EAPI-5 ebuild
Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'media-libs/pnglite')
-rw-r--r-- | media-libs/pnglite/pnglite-0.1.17.ebuild | 51 |
1 files changed, 0 insertions, 51 deletions
diff --git a/media-libs/pnglite/pnglite-0.1.17.ebuild b/media-libs/pnglite/pnglite-0.1.17.ebuild deleted file mode 100644 index 054f83b18d30..000000000000 --- a/media-libs/pnglite/pnglite-0.1.17.ebuild +++ /dev/null @@ -1,51 +0,0 @@ -# Copyright 1999-2021 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=5 -inherit epatch flag-o-matic multilib toolchain-funcs - -DESCRIPTION="Small and simple library for loading and writing PNG images" -HOMEPAGE="https://sourceforge.net/projects/pnglite/" -SRC_URI="mirror://sourceforge/${PN}/${P}.zip" - -LICENSE="ZLIB" -SLOT="0" -KEYWORDS="amd64 ~arm64 x86" -IUSE="static-libs" - -RDEPEND="sys-libs/zlib" -DEPEND="${RDEPEND} - app-arch/unzip" - -S=${WORKDIR} - -src_prepare() { - epatch "${FILESDIR}"/${P}-include-stdio.patch - sed -ie "s:\"../zlib/zlib.h\":<zlib.h>:" pnglite.c || die -} - -src_compile() { - tc-export CC - if use static-libs; then - emake ${PN}.o - $(tc-getAR) -cvq lib${PN}.a ${PN}.o || die - rm ${PN}.o || die - fi - - append-flags -fPIC - emake ${PN}.o - $(tc-getCC) ${LDFLAGS} -shared -Wl,-soname,lib${PN}.so.0 \ - -o lib${PN}.so.0 ${PN}.o -lz || die -} - -src_install() { - insinto /usr/include - doins ${PN}.h - - dolib.so lib${PN}.so.0 - if use static-libs; then - dolib.a lib${PN}.a - fi - - dosym lib${PN}.so.0 /usr/$(get_libdir)/lib${PN}.so -} |