wok-next view aubio/receipt @ rev 7909

Added DESTDIR=PWD/_pkg to attr. Needed for it to make packages.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Jan 09 12:03:10 2011 +0000 (2011-01-09)
parents
children abb787804be1
line source
1 # SliTaz package receipt.
3 PACKAGE="aubio"
4 VERSION="0.3.2"
5 CATEGORY="multimedia"
6 MAINTAINER="jozee@slitaz.org"
7 SHORT_DESC="A library for audio labelling"
8 BUILD_DEPENDS=" libsamplerate-dev jack-audio-connection-kit-dev fftw-dev libsndfile-dev fftw libsamplerate flac-dev libogg-dev libvorbis-dev"
9 WEB_SITE="http://aubio.piem.org/"
10 DEPENDS="libsamplerate fftw jack-audio-connection-kit flac libogg libvorbis"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WGET_URL="$WEB_SITE/pub/$TARBALL"
13 TAGS="audio label multimedia"
15 # Rules to configure and make the package.
17 compile_rules() {
18 cd $src
19 ./configure --prefix=/usr &&
20 make &&
21 make DESTDIR=$PWD/_pkg install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/lib
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/lib/*so* $fs/usr/lib/
30 cp -a $_pkg/usr/share $fs/usr
32 }