wok-6.x view ario/receipt @ rev 9116
Add dkms
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sat Mar 05 12:30:21 2011 +0100 (2011-03-05) |
parents | 4d12569d8cb2 |
children | 02bbaa9d12ba |
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 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 }