30 lines
846 B
Makefile
30 lines
846 B
Makefile
# $NetBSD: Makefile,v 1.7 2017/08/01 17:40:13 wiz Exp $
|
|
|
|
DISTNAME= fgmp-1.0b5-src-10.10
|
|
PKGNAME= fgmp-1.0b5
|
|
CATEGORIES= math
|
|
MASTER_SITES= ${MASTER_SITE_BACKUP}
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
#HOMEPAGE= http://hpux.cs.utah.edu/hppd/hpux/Maths/Misc/fgmp-1.0b5/
|
|
COMMENT= Minimalist free re-implementation of GNU multi-precision routines
|
|
|
|
WRKSRC= ${WRKDIR}/${PKGNAME_NOREV}
|
|
USE_LIBTOOL= yes
|
|
NO_CONFIGURE= yes
|
|
|
|
INSTALLATION_DIRS= include lib
|
|
|
|
do-build:
|
|
cd ${WRKSRC} && ( \
|
|
${LIBTOOL} --mode=compile ${CC} -O -c gmp.c; \
|
|
${LIBTOOL} --mode=link ${CC} -o libfgmp.la gmp.lo \
|
|
-rpath ${PREFIX}/lib -version-info 1:0; \
|
|
)
|
|
|
|
do-install:
|
|
cd ${WRKSRC} && ${LIBTOOL} --mode=install ${INSTALL_LIB} libfgmp.la \
|
|
${DESTDIR}${PREFIX}/lib
|
|
${INSTALL_DATA} ${WRKSRC}/gmp.h ${DESTDIR}${PREFIX}/include/fgmp.h
|
|
|
|
.include "../../mk/bsd.pkg.mk"
|