wok-4.x view sox/receipt @ rev 9113
slitaz-doc: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 05 11:34:20 2011 +0100 (2011-03-05) |
parents | 4897058add72 |
children | 9e150d16dc21 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sox"
4 VERSION="14.3.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Swiss Army knife of sound processing programs."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 DEPENDS="libtool libsamplerate alsa-lib flac libid3tag libmad libvorbis libpng \
9 lame libmagic libgomp libao ffmpeg libsndfile"
10 BUILD_DEPENDS="$DEPENDS ffmpeg-dev libsndfile-dev libid3tag-dev libmad-dev libvorbis-dev libpng-dev lame-dev libsamplerate-dev alsa-lib-dev flac-dev libao-dev libogg-dev libmagic-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://sox.sourceforge.net/"
13 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 ./configure --prefix=/usr --infodir=/usr/share/info \
20 --mandir=/usr/share/man $CONFIGURE_ARGS &&
21 make &&
22 make DESTDIR=$PWD/_pkg install
23 }
25 # Rules to gen a SliTaz package suitable for Tazpkg.
26 genpkg_rules()
27 {
28 mkdir -p $fs/usr/lib/sox
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
32 #cp -a $_pkg/usr/lib/sox/*.so* $fs/usr/lib
33 }