wok view libsamplerate/receipt @ rev 8843

Fix ruby-pkgconfig compile_rules()
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Feb 25 00:22:45 2011 +0100 (2011-02-25)
parents 8752c40cc534
children a41e67c53243
line source
1 # SliTaz package receipt.
3 PACKAGE="libsamplerate"
4 VERSION="0.1.7"
5 CATEGORY="multimedia"
6 SHORT_DESC="Sample Rate Converter for audio."
7 MAINTAINER="pankso@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 DEPENDS="libsndfile libogg"
10 WEB_SITE="http://www.mega-nerd.com/SRC/"
11 WGET_URL="http://www.mega-nerd.com/SRC/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure \
18 --prefix=/usr \
19 --mandir=/usr/share/man \
20 $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
29 cp -a $_pkg/usr/bin $fs/usr
30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
31 }