wok-stable view alsa-lib/receipt @ rev 40

Add : sylpheed + bogofilter (anti spam)
author Christophe Lincoln <pankso@slitaz.org>
date Tue Dec 18 14:12:28 2007 +0100 (2007-12-18)
parents
children ad2f590c9c94
line source
1 # SliTaz package receipt.
3 PACKAGE="alsa-lib"
4 VERSION="1.0.15"
5 CATEGORY="extra"
6 SHORT_DESC="Alsa sound libraries."
7 MAINTAINER="pankso@slitaz.org"
8 DEPENDS="linux-snd"
9 TARBALL="$PACKAGE-$VERSION.tar.bz2"
10 WEB_SITE="http://www.alsa-project.org/"
11 WGET_URL="ftp://ftp.alsa-project.org/pub/lib/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 ./configure --prefix=/usr --infodir=/usr/share/info \
18 --mandir=/usr/share/man $CONFIGURE_ARGS
19 make
20 make DESTDIR=$PWD/_pkg install
21 }
23 # Rules to gen a SliTaz package suitable for Tazpkg.
24 genpkg_rules()
25 {
26 mkdir -p $fs/usr/lib $fs/usr/share
27 cp -a $_pkg/usr/bin $fs/usr
28 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
29 cp -a $_pkg/usr/lib/alsa-lib $fs/usr/lib
30 cp -a $_pkg/usr/share/alsa $fs/usr/share
32 rm $fs/usr/lib/alsa-lib/smixer/*.*a
33 strip --strip-unneeded $fs/usr/lib/* 2>/dev/null
34 strip --strip-unneeded $fs/usr/lib/alsa-lib/smixer/*
35 strip -s $fs/usr/bin/*
36 }