Guest User

Untitled

a guest
Jul 28th, 2012
189
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.61 KB | None | 0 0
  1. # Copyright 1999-2012 Gentoo Foundation
  2. # Distributed under the terms of the GNU General Public License v2
  3. # $Header: $
  4.  
  5. EAPI=4
  6.  
  7. inherit multilib libtool
  8.  
  9. DESCRIPTION="Portable Network Graphics library"
  10. HOMEPAGE="http://www.libpng.org/"
  11. SRC_URI="mirror://sourceforge/${PN}/${P}.tar.xz"
  12.  
  13. LICENSE="as-is"
  14. SLOT="1"
  15. KEYWORDS="~amd64 ~x86"
  16. IUSE=""
  17.  
  18. RDEPEND="sys-libs/zlib"
  19. DEPEND="${RDEPEND}
  20. app-arch/xz-utils"
  21.  
  22. src_prepare() {
  23. elibtoolize
  24. }
  25.  
  26. src_configure() {
  27. econf --disable-static
  28. }
  29.  
  30. src_compile() {
  31. emake libpng14.la
  32. }
  33.  
  34. src_install() {
  35. mv "${WORKDIR}/${P}"/.libs/libpng14.so* /usr/lib
  36. }
Advertisement
Add Comment
Please, Sign In to add comment