wok-next view ario/receipt @ rev 20443

The rest of my "home work" for update many packages (up to Xorg, GTK and Openbox) for Next and mainly for Next64. Since this point this repository is open for commits. Many errors are expected due to harfbuzz-freetype dependency loop...
author Aleksej Bobylev <al.bobylev@gmail.com>
date Sat Feb 24 16:17:33 2018 +0200 (2018-02-24)
parents 01e243a30e00
children 835b3b8ce6ac
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 }