wok view sonata/receipt @ rev 6914
Added xz to busybox. Doesn't change size of busybox. This is show we can use tar.xz compress for tazpkg files if we want to. Added pre_install and post_remove functions to xz receipt.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Oct 21 23:49:16 2010 +0000 (2010-10-21) |
parents | ab720c05cb56 |
children | 9c762d56b413 |
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 cp -f stuff/sonata.desktop $fs/usr/share/applications
32 }