diff options
author | Tomas Chvatal <scarabeus@gentoo.org> | 2008-11-28 19:57:35 +0000 |
---|---|---|
committer | Tomas Chvatal <scarabeus@gentoo.org> | 2008-11-28 19:57:35 +0000 |
commit | 1fb9b799da05b1ed513d7fb6e5c7fed66e6226b8 (patch) | |
tree | 8f564797fa4c8084b89ddbc54b7e7cf5ca4373a2 /media-libs/glpng/files | |
parent | Delete version which only segfaults with Big Endian. (diff) | |
download | gentoo-2-1fb9b799da05b1ed513d7fb6e5c7fed66e6226b8.tar.gz gentoo-2-1fb9b799da05b1ed513d7fb6e5c7fed66e6226b8.tar.bz2 gentoo-2-1fb9b799da05b1ed513d7fb6e5c7fed66e6226b8.zip |
Initial import of glpng. It is needed dep for new version of chromium. Thanks Tupone for pointing out issues.
(Portage version: 2.2_rc16/cvs/Linux 2.6.27-gentoo x86_64)
Diffstat (limited to 'media-libs/glpng/files')
-rw-r--r-- | media-libs/glpng/files/Makefile | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/media-libs/glpng/files/Makefile b/media-libs/glpng/files/Makefile new file mode 100644 index 000000000000..872f7a0e3b5e --- /dev/null +++ b/media-libs/glpng/files/Makefile @@ -0,0 +1,30 @@ +# New ports collection makefile for: glpng +# Date created: 06 Mar 2006 +# Whom: Dmitry Marakasov <amdmi3@amdmi3.ru> +# +# $FreeBSD: ports/graphics/glpng/Makefile,v 1.6 2008/06/19 17:28:19 amdmi3 Exp $ +# + +LIB_DEPENDS= /usr/lib/libpng.so + +AR?= /usr/bin/ar +LN?= /bin/ln +INSTALL_DATA?= /bin/cp +MKDIR?= /bin/mkdir +DESTDIR?= / +PREFIX= ${DESTDIR}/usr +WRKSRC= /src +LOCALBASE= ./ +LD = /usr/bin/ld +all: + ${CC} ${CFLAGS} -fPIC -I${LOCALBASE}/include -c -o ${WRKSRC}/libglpng.o ${LDFLAGS} ${WRKSRC}/glpng.c + ${CC} ${CFLAGS} -L${LOCALBASE}/lib -shared -soname -lGL -lpng -lz -lm -o ${WRKSRC}/libglpng.so.1 ${LDFLAGS},-soname=libglpng.so.1 ${WRKSRC}/libglpng.o + ${AR} cqs ${WRKSRC}/libglpng.a ${WRKSRC}/libglpng.o + +install: + ${MKDIR} -p ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/libglpng.so.1 ${PREFIX}/lib + ${INSTALL_DATA} ${WRKSRC}/libglpng.a ${PREFIX}/lib + ${LN} -sf libglpng.so.1 ${PREFIX}/lib/libglpng.so + ${MKDIR} -p ${PREFIX}/include/GL/ + ${INSTALL_DATA} include/GL/glpng.h ${PREFIX}/include/GL/ |