wok view sox/receipt @ rev 16628
xorg-xf86-video-ati, xorg-xf86-video-intel: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat May 10 10:32:14 2014 +0000 (2014-05-10) |
parents | 1040bd60b471 |
children | 28c0d31f1850 |
line source
1 # SliTaz package receipt.
3 PACKAGE="sox"
4 VERSION="14.3.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="Swiss Army knife of sound processing programs."
7 MAINTAINER="pascal.bellard@slitaz.org"
8 LICENSE="GPL LGPL"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://sox.sourceforge.net/"
11 WGET_URL="$SF_MIRROR/$PACKAGE/$TARBALL"
12 HOST_ARCH="i486 arm"
14 DEPENDS="libltdl libsamplerate alsa-lib libid3tag libmad libvorbis \
15 libpng lame libmagic libgomp libao ffmpeg libsndfile"
16 BUILD_DEPENDS="ffmpeg-dev libsndfile-dev libid3tag-dev libmad-dev \
17 libvorbis-dev libpng-dev lame-dev libsamplerate-dev alsa-lib-dev \
18 libao-dev libogg-dev libmagic-dev"
20 # Handle SliTaz arch
21 case "$SLITAZ_ARCH" in
22 i?86) DEPENDS="$DEPENDS flac"
23 esac
25 # Handle cross compilation
26 case "$ARCH" in
27 i?86) BUILD_DEPENDS="$BUILD_DEPENDS flac-dev"
28 esac
30 # Rules to configure and make the package.
31 compile_rules()
32 {
33 ./configure \
34 --with-distro="SliTaz" \
35 $CONFIGURE_ARGS &&
36 make && make install
37 }
39 # Rules to gen a SliTaz package suitable for Tazpkg.
40 genpkg_rules()
41 {
42 mkdir -p $fs/usr/lib/sox
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
46 }