wok view libsamplerate/receipt @ rev 10789
Up: slitaz-tools (4.3) - Use source Makefile to install files and so clean up receipt
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Wed Jun 01 22:36:01 2011 +0200 (2011-06-01) |
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 }