wok-6.x view ario/receipt @ rev 17341
slitaz-configs-base: Up (5.5.7); mesa-dri: remove vmwgfx
author | Xander Ziiryanoff <psychomaniak@xakep.ru> |
---|---|
date | Wed Nov 05 23:50:10 2014 +0100 (2014-11-05) |
parents | 01e243a30e00 |
children | d37d15244372 |
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 LICENSE="GPL2"
9 TARBALL="$PACKAGE-$VERSION.tar.gz"
10 WEB_SITE="http://ario-player.sourceforge.net/index.php?en"
11 WGET_URL="http://freefr.dl.sourceforge.net/sourceforge/ario-player/$TARBALL"
12 TAGS="music audio player mp3 ogg"
14 DEPENDS="libgcrypt gtk+ libcurl libglade libmpdclient taglib dbus-glib \
15 libunique libtasn1"
16 BUILD_DEPENDS="glib-dev gtk+-dev gnutls-dev taglib-dev intltool libunique-dev \
17 libtasn1-dev libgcrypt-dev curl-dev libglade-dev taglib-dev libmpdclient-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 cd $src
23 sed -i 's|.glib/gslist.h.|<glib.h>|' src/ario-util.h src/ario-profiles.h
24 sed -i 's|<glib/gkeyfile.h>|<glib.h>|' src/plugins/ario-plugin-info.c
25 ./configure \
26 --prefix=/usr \
27 --infodir=/usr/share/info \
28 --mandir=/usr/share/man \
29 --disable-dbus \
30 --disable-notify \
31 --disable-mpdidle \
32 --disable-audioscrobbler \
33 --disable-avahi \
34 $CONFIGURE_ARGS &&
35 make -j1 && make -j1 DESTDIR=$DESTDIR install
36 }
38 # Rules to gen a SliTaz package suitable for Tazpkg.
39 genpkg_rules()
40 {
41 mkdir -p $fs/usr/share/locale/
43 cp -a $install/usr/bin $fs/usr
44 cp -a $install/usr/lib $fs/usr
45 cp -a $install/usr/share/applications $fs/usr/share
46 cp -a $install/usr/share/icons $fs/usr/share
47 cp -a $install/usr/share/ario $fs/usr/share
48 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
50 # Cleanup
51 rm -f $fs/usr/lib/ario/plugins/*.?a
52 }