-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathpackage.mk
31 lines (26 loc) · 1.17 KB
/
package.mk
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
30
31
# SPDX-License-Identifier: GPL-2.0-only
# Copyright (C) 2021-present Team LibreELEC (https://libreelec.tv)
PKG_NAME="fftw3"
PKG_VERSION="3.3.10"
PKG_REV="100"
PKG_ARCH="any"
PKG_LICENSE="Proprietary"
PKG_SITE="http://www.fftw.org"
PKG_URL="http://www.fftw.org/fftw-${PKG_VERSION}.tar.gz"
PKG_SHA256_CHECKSUM="56c932549852cddcfafdab3820b0200c7742675be92179e59e6215b340e26467"
PKG_MAINTAINER="chipfunk" # Full name or forum/GitHub nickname, if you want to be identified as the addon maintainer
PKG_DEPENDS_TARGET="glibc"
PKG_SECTION=""
PKG_SHORTDESC="FFTW Discrete Fourier Transform library - double precision"
PKG_LONGDESC="FFTW is a free collection of fast C routines for computing the Discrete Fourier Transform in one or more dimensions."
PKG_TOOLCHAIN="configure" # or one of auto, meson, cmake, cmake-make, configure, make, ninja, autotools, manual
PKG_CONFIGURE_OPTS_TARGET="--disable-fortran"
PKG_IS_ADDON="yes"
PKG_ADDON_NAME="${PKG_NAME}"
PKG_ADDON_TYPE="xbmc.service.library"
PKG_ADDON_VERSION="1.0.0";
addon() {
mkdir -p ${ADDON_BUILD}/${PKG_ADDON_ID}/lib
cp ${PKG_INSTALL}/usr/lib/libfftw3* ${ADDON_BUILD}/${PKG_ADDON_ID}/lib
chmod +x ${ADDON_BUILD}/${PKG_ADDON_ID}/lib/*
}