wok view alsaplayer/receipt @ rev 15502

util-linux-flock: fix pre_install
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Nov 17 18:13:51 2013 +0000 (2013-11-17)
parents 9d8cc149f886
children 128aae84d74c
line source
1 # SliTaz package receipt.
3 PACKAGE="alsaplayer"
4 VERSION="0.99.81"
5 CATEGORY="multimedia"
6 SHORT_DESC="Alsa GTK+ PCM player."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 SUGGESTED="alsaplayer-scopes libid3tag flac"
10 TARBALL="$PACKAGE-$VERSION.tar.gz"
11 WEB_SITE="http://www.alsaplayer.org/"
12 WGET_URL="http://www.alsaplayer.org/$TARBALL"
13 TAGS="music audio player mp3 ogg flac"
15 DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage"
16 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev flac-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 ./configure \
23 --enable-nls \
24 --prefix=/usr \
25 --infodir=/usr/share/info \
26 --mandir=/usr/share/man \
27 --enable-gtk2 \
28 --enable-flac \
29 --disable-jack \
30 --disable-esd \
31 $CONFIGURE_ARGS &&
32 make &&
33 # Chmod install-sh to avoid install error.
34 chmod 755 install-sh &&
35 make DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/lib
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib/*.so* $fs/usr/lib
45 cp -a $install/usr/lib/alsaplayer $fs/usr/lib
47 # Remove devel files and scopes.
48 rm $fs/usr/lib/alsaplayer/*/*.*a
49 rm -rf $fs/usr/lib/alsaplayer/scopes2
50 }