wok-6.x view sonata/receipt @ rev 12075

libarchive: fix make install
author Antoine Bodin <gokhlayeh@slitaz.org>
date Fri Mar 09 05:31:56 2012 +0100 (2012-03-09)
parents 8e90bd251450
children 2b9f96603415
line source
1 # SliTaz package receipt.
3 PACKAGE="sonata"
4 VERSION="1.6.2.1"
5 CATEGORY="multimedia"
6 SHORT_DESC="Elegant GTK+ music client for MPD"
7 MAINTAINER="jozee@slitaz.org"
8 DEPENDS="pygtk python-mpd dbus-python mpd libffi"
9 BUILD_DEPENDS="pygtk-dev dbus-python-dev pygobject-dev gettext \
10 pkg-config acl libcroco python-dev gtk+-dev libffi-dev"
11 TARBALL="$PACKAGE-$VERSION.tar.bz2"
12 WEB_SITE="http://sonata.berlios.de/"
13 WGET_URL="http://download.berlios.de/sonata/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 python setup.py install --prefix=/usr --root="$PWD/_pkg"
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/share/applications $fs/usr/lib
26 cp -a $_pkg/usr/bin $fs/usr
27 cp -a $_pkg/usr/lib $fs/usr
28 cp -a $_pkg/usr/share/sonata $fs/usr/share
29 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
30 cp -a $stuff/startsonata $fs/usr/bin/
31 }