wok view alsa-lib/receipt @ rev 232

Slitaz-loram: do not trust mksquashfs status
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Feb 16 23:00:26 2008 +0100 (2008-02-16)
parents ad2f590c9c94
children 4f833a54f594
line source
1 # SliTaz package receipt.
3 PACKAGE="alsa-lib"
4 VERSION="1.0.15"
5 CATEGORY="multimedia"
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 }