wok-4.x view decibel/receipt @ rev 12085

fpm2: Make sure /usr folder exist before copying /usr/bin folder.
author Christopher Rogers <slaxemulator@gmail.com>
date Fri Mar 09 21:47:23 2012 -0500 (2012-03-09)
parents 22f574452899
children
line source
1 # SliTaz package receipt.
3 PACKAGE="decibel"
4 VERSION="1.06"
5 CATEGORY="multimedia"
6 SHORT_DESC="Decibel audio player for Gnome Desktop."
7 MAINTAINER="slaxemulator@gmail.com"
8 DEPENDS="python gst-python notify-python pygtk dbus-python mutagen"
9 BUILD_DEPENDS="gettext"
10 SOURCE="$PACKAGE-audio-player"
11 TARBALL="$SOURCE-$VERSION.tar.gz"
12 WEB_SITE="http://decibel.silent-blade.org/"
13 WGET_URL="http://decibel.silent-blade.org/uploads/Main/$TARBALL"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 # needed to install locale files
20 [ -L /usr/bin/find ]; tazpkg get-install findutils --forced
21 make prefix=/usr DESTDIR=$DESTDIR install
22 }
24 # Rules to gen a SliTaz package suitable for Tazpkg.
25 genpkg_rules()
26 {
27 mkdir -p $fs/usr/share
28 cp -a $_pkg/usr/bin $fs/usr
29 cp -a $_pkg/usr/share/$SOURCE $fs/usr/share
30 cp -a $_pkg/usr/share/pixmaps $fs/usr/share
31 cp -a $_pkg/usr/share/applications $fs/usr/share
32 }