wok-current view ario/receipt @ rev 13697
syslinux/iso2exe: menu can create usbkey/floppy
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Dec 14 15:43:12 2012 +0100 (2012-12-14) |
parents | c192feb5266a |
children | 380ffe05937a |
line source
1 # SliTaz package receipt.
3 PACKAGE="ario"
4 VERSION="1.5.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="GTK client for MPD"
7 MAINTAINER="erjo@slitaz.org"
8 TARBALL="$PACKAGE-$VERSION.tar.gz"
9 WEB_SITE="http://ario-player.sourceforge.net/index.php?en"
10 WGET_URL="http://freefr.dl.sourceforge.net/sourceforge/ario-player/$TARBALL"
11 TAGS="music audio player mp3 ogg"
13 DEPENDS="libgcrypt gtk+ libcurl libglade libmpdclient taglib dbus-glib \
14 libunique libtasn1"
15 BUILD_DEPENDS="glib-dev gtk+-dev gnutls-dev taglib-dev intltool libunique-dev \
16 libtasn1-dev libgcrypt-dev curl-dev libglade-dev taglib-dev libmpdclient-dev"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 cd $src
22 sed -i 's|.glib/gslist.h.|<glib.h>|' src/ario-util.h src/ario-profiles.h
23 sed -i 's|<glib/gkeyfile.h>|<glib.h>|' src/plugins/ario-plugin-info.c
24 ./configure \
25 --prefix=/usr \
26 --infodir=/usr/share/info \
27 --mandir=/usr/share/man \
28 --disable-dbus \
29 --disable-notify \
30 --disable-mpdidle \
31 --disable-audioscrobbler \
32 --disable-avahi \
33 $CONFIGURE_ARGS &&
34 make -j1 && make -j1 DESTDIR=$DESTDIR install
35 }
37 # Rules to gen a SliTaz package suitable for Tazpkg.
38 genpkg_rules()
39 {
40 mkdir -p $fs/usr/share/locale/
42 cp -a $_pkg/usr/bin $fs/usr
43 cp -a $_pkg/usr/lib $fs/usr
44 cp -a $_pkg/usr/share/applications $fs/usr/share
45 cp -a $_pkg/usr/share/icons $fs/usr/share
46 cp -a $_pkg/usr/share/ario $fs/usr/share
47 cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale
49 # Cleanup
50 rm -f $fs/usr/lib/ario/plugins/*.?a
51 }