summaryrefslogtreecommitdiff
path: root/math/ffts/Makefile
blob: 4c879df7e7796f1ae0a80f533997c64568bbc862 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $NetBSD: Makefile,v 1.3 2022/08/13 13:24:19 gson Exp $

GIT_COMMIT=		fe86885ecafd0d16eb122f3212403d1d5a86e24e

DISTNAME=		${GIT_COMMIT}
PKGNAME=		ffts-20170617
CATEGORIES=		math
MASTER_SITES=		${MASTER_SITE_GITHUB:=anthonix/}/ffts/archive/

MAINTAINER=		gson@NetBSD.org
HOMEPAGE=		https://github.com/anthonix/ffts
COMMENT=		The Fastest Fourier Transform in the South
LICENSE=		modified-bsd

WRKSRC=			${WRKDIR}/ffts-${GIT_COMMIT}

USE_TOOLS+=		gmake autoconf automake autoheader aclocal
USE_LANGUAGES=		c c++
USE_LIBTOOL=		yes
GNU_CONFIGURE=		yes
CONFIGURE_ARGS=		--enable-sse --enable-single

ONLY_FOR_PLATFORM=	*-*-x86_64

pre-configure:
	set -e; cd ${WRKSRC}; \
	aclocal; autoheader; automake -a --foreign -i; autoconf

.include "../../mk/bsd.pkg.mk"