wok view alsaplayer/receipt @ rev 19265

Compress manpages.
author Aleksej Bobylev <al.bobylev@gmail.com>
date Mon Jul 04 10:05:09 2016 +0300 (2016-07-04)
parents a2f7f8eaeaa3
children 11b5e93cb5f2
line source
1 # SliTaz package receipt.
3 PACKAGE="alsaplayer"
4 VERSION="0.99.81"
5 CATEGORY="multimedia"
6 SHORT_DESC="Alsa GTK+ PCM audio player."
7 MAINTAINER="pankso@slitaz.org"
8 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://www.alsaplayer.org/"
11 WGET_URL="http://www.alsaplayer.org/$TARBALL"
12 TAGS="music audio player mp3 ogg flac"
13 HOST_ARCH="i486 arm"
15 SUGGESTED="alsaplayer-scopes libid3tag flac"
16 DEPENDS="gtk+ alsa-lib libmad libogg libvorbis xorg-libXdamage"
17 BUILD_DEPENDS="gtk+-dev alsa-lib-dev libmad-dev libogg-dev libvorbis-dev"
19 # Handle cross compilation.
20 case "$ARCH" in
21 i?86) BUILD_DEPENDS="$BUILD_DEPENDS flac-dev" ;;
22 esac
24 # Rules to configure and make the package.
25 compile_rules()
26 {
27 i="$src/interface/gtk2/pixmaps"
28 cp -f $i/note.xpm $i/logo.xpm
29 sed -i 's/note/logo/' $i/logo.xpm
31 ./configure \
32 --enable-gtk2 \
33 --enable-flac \
34 --disable-jack \
35 --disable-esd \
36 $CONFIGURE_ARGS &&
37 make &&
38 # Chmod install-sh to avoid install error.
39 chmod 755 install-sh &&
40 make DESTDIR=$DESTDIR install
42 cook_compress_manpages
43 }
45 # Rules to gen a SliTaz package suitable for Tazpkg.
46 genpkg_rules()
47 {
48 mkdir -p $fs/usr/lib
50 cp -a $install/usr/bin $fs/usr
51 cp -a $install/usr/lib/*.so* $fs/usr/lib
52 cp -a $install/usr/lib/alsaplayer $fs/usr/lib
54 # Remove devel files and scopes.
55 rm $fs/usr/lib/alsaplayer/*/*.*a
56 rm -rf $fs/usr/lib/alsaplayer/scopes2
57 }