wok-6.x view alsa-lib/receipt @ rev 165
Modified e17 config file
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Mon Jan 28 21:25:08 2008 +0100 (2008-01-28) |
parents | a7cb804c8e95 |
children | 16e4ef87e466 |
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"
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 }