wok-4.x view ario/receipt @ rev 5182

linux: fix kernel_version
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sat Mar 27 20:38:05 2010 +0100 (2010-03-27)
parents 395ec8205cff
children eecceadddb59
line source
1 # SliTaz package receipt.
3 PACKAGE="ario"
4 VERSION="1.4.2"
5 CATEGORY="multimedia"
6 SHORT_DESC="GTK clien for MPD"
7 MAINTAINER="erjo@slitaz.org"
8 DEPENDS="libgcrypt gtk+ libcurl libglade libmpdclient taglib dbus-glib \
9 gcc-lib-base libunique libtasn1"
10 BUILD_DEPENDS="libgcrypt-dev libglade-dev curl-dev gnutls-dev libmpdclient-dev taglib-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.gz"
12 WEB_SITE="http://ario-player.sourceforge.net/index.php?en"
13 WGET_URL="http://freefr.dl.sourceforge.net/sourceforge/ario-player/$TARBALL"
14 TAGS="music audio player mp3 ogg"
16 # Rules to configure and make the package.
17 compile_rules()
18 {
19 cd $src
20 ./configure \
21 --prefix=/usr \
22 --infodir=/usr/share/info \
23 --mandir=/usr/share/man \
24 --disable-dbus \
25 --disable-notify \
26 --disable-audioscrobbler \
27 --disable-avahi \
28 $CONFIGURE_ARGS &&
29 make && make DESTDIR=$PWD/_pkg install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/share/locale/
37 cp -a $_pkg/usr/bin $fs/usr
38 cp -a $_pkg/usr/lib $fs/usr
39 cp -a $_pkg/usr/share/applications $fs/usr/share
40 cp -a $_pkg/usr/share/icons $fs/usr/share
41 cp -a $_pkg/usr/share/ario $fs/usr/share
42 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
44 strip -s $fs/usr/lib/ario/plugins/*.so
46 # Cleanup
47 rm -f $fs/usr/lib/ario/plugins/*.?a
49 strip -s $fs/usr/lib/ario/plugins/*.so
52 }