wok view fftw/receipt @ rev 23194

updated mpv (0.29.1 -> 0.32.0)
author Hans-G?nter Theisgen
date Fri Mar 20 15:35:35 2020 +0100 (2020-03-20)
parents 70b446c3592a
children 4af5a3ba8ed3
line source
1 # SliTaz package receipt.
3 PACKAGE="fftw"
4 VERSION="3.3.8"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 LICENSE="GPL2"
8 SHORT_DESC="A library for computing the discrete Fourier transform (DFT)."
9 WEB_SITE="http://www.fftw.org/"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/$TARBALL"
14 BUILD_DEPENDS="gfortran"
16 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # build double precision
21 ./configure \
22 F77=gfortran \
23 --prefix=/usr \
24 --enable-shared \
25 $CONFIGURE_ARGS &&
26 make $MAKEFLAGS &&
27 make DESTDIR=$DESTDIR install
29 # build long double precission
30 make clean
31 ./configure \
32 F77=gfortran \
33 --prefix=/usr \
34 --enable-long-double \
35 --enable-shared \
36 $CONFIGURE_ARGS &&
37 make $MAKEFLAGS &&
38 make DESTDIR=$DESTDIR install
40 # build single precision
41 make clean
42 ./configure \
43 F77=gfortran \
44 --prefix=/usr \
45 --enable-float \
46 --enable-shared \
47 $CONFIGURE_ARGS &&
48 make $MAKEFLAGS &&
49 make DESTDIR=$DESTDIR install
50 }
52 # Rules to gen a SliTaz package suitable for Tazpkg.
53 genpkg_rules()
54 {
55 mkdir -p $fs/usr/lib
56 mkdir -p $fs/usr/share
58 cp -a $install/usr/bin $fs/usr
59 cp -a $install/usr/lib/*so* $fs/usr/lib
60 }