wok-undigest view fftw/receipt @ rev 160
Update lxappearance(git) & add lxappearance-obconf(git)
author | Antoine Bodin <gokhlayeh@mailoo.org> |
---|---|
date | Sun Aug 08 20:20:38 2010 +0200 (2010-08-08) |
parents | |
children |
line source
1 # SliTaz package receipt.
3 PACKAGE="fftw"
4 VERSION="3.2.2"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 SHORT_DESC="A library for computing the discrete Fourier transform (DFT)"
8 BUILD_DEPENDS="gfortran"
9 WEB_SITE="http://www.fftw.org/"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WGET_URL="$WEB_SITE/$TARBALL"
12 TAGS=""
14 # Rules to configure and make the package.
16 compile_rules() {
17 cd $src
19 # build double precision
20 ./configure F77=gfortran --prefix=/usr --enable-shared &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
24 # build long double precission
25 make clean
26 ./configure F77=gfortran --prefix=/usr --enable-long-double --enable-shared
27 make
28 make DESTDIR=$PWD/_pkg install
30 # build single precision
31 make clean
32 ./configure F77=gfortran --prefix=/usr --enable-float --enable-shared
33 make
34 make DESTDIR=$PWD/_pkg install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/lib $fs/usr/share
41 cp -a $_pkg/usr/bin $fs/usr
42 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
44 }