wok-4.x view ario/receipt @ rev 9737
slim: fix DESTDIR is needed and build deps
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Tue May 10 00:34:33 2011 +0200 (2011-05-10) |
parents | 9caf4331f934 |
children | fc46ad769eac |
line source
1 # SliTaz package receipt.
3 PACKAGE="ario"
4 VERSION="1.5"
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="glib-dev gtk+-dev gnutls-dev taglib-dev intltool"
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 -j1 && make -j1 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 # Cleanup
45 rm -f $fs/usr/lib/ario/plugins/*.?a
46 }