1 # $NetBSD: Makefile,v 1.5 2009/05/21 11:21:44 zafer Exp $
3 DISTNAME
= fgmp-1.0b5-src-10.10
6 MASTER_SITES
= ${MASTER_SITE_BACKUP}
8 MAINTAINER
= pkgsrc-users@NetBSD.org
9 HOMEPAGE
= http
://hpux.cs.utah.edu
/hppd
/hpux
/Maths
/Misc
/fgmp-1.0b5
/
10 COMMENT
= Minimalist free re-implementation of GNU multi-precision routines
12 WRKSRC
= ${WRKDIR}/${PKGNAME_NOREV}
16 INSTALLATION_DIRS
= include lib
20 ${LIBTOOL} --mode
=compile
${CC} -O
-c gmp.c
; \
21 ${LIBTOOL} --mode
=link
${CC} -o libfgmp.la gmp.lo \
22 -rpath
${PREFIX}/lib
-version-info
1:0; \
26 cd
${WRKSRC} && ${LIBTOOL} --mode
=install ${INSTALL_LIB} libfgmp.la \
27 ${DESTDIR}${PREFIX}/lib
28 ${INSTALL_DATA} ${WRKSRC}/gmp.h
${DESTDIR}${PREFIX}/include/fgmp.h
30 .
include "../../mk/bsd.pkg.mk"