wok-stable annotate cairo-dock-plugins/receipt @ rev 11559
Add mp3gain form wok-undigest
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Sun Dec 25 15:19:13 2011 +0100 (2011-12-25) |
parents | f377cb013e19 |
children |
rev | line source |
---|---|
pankso@7880 | 1 # SliTaz package receipt. |
pankso@7880 | 2 |
pankso@7880 | 3 PACKAGE="cairo-dock-plugins" |
slaxemulator@11077 | 4 VERSION="2.4.0~2" |
pankso@7880 | 5 CATEGORY="x-window" |
pankso@7880 | 6 SHORT_DESC="Set of plugins for Cairo-Dock." |
pankso@7880 | 7 MAINTAINER="pankso@slitaz.org" |
gokhlayeh@8817 | 8 DEPENDS="dbus-glib cairo-dock" |
pascal@11525 | 9 BUILD_DEPENDS="dbus-glib-dev cairo-dock-dev cmake alsa-lib \ |
pascal@10707 | 10 gtk+-dev cairo-dev librsvg-dev dbus-dev libxml2-dev gtkglext-dev mesa-dev" |
pankso@7880 | 11 TARBALL="$PACKAGE-$VERSION.tar.gz" |
pankso@7880 | 12 WEB_SITE="http://www.glx-dock.org/" |
slaxemulator@11077 | 13 WGET_URL="http://launchpad.net/cairo-dock-plug-ins/${VERSION:0:3}/${VERSION:0:5}/+download/$TARBALL" |
pankso@7880 | 14 |
pankso@7880 | 15 # Rules to configure and make the package. |
pankso@7880 | 16 compile_rules() |
pankso@7880 | 17 { |
pankso@7880 | 18 cd $src |
pankso@7880 | 19 mkdir -p build && cd build |
pankso@7880 | 20 cmake .. -DCMAKE_INSTALL_PREFIX=/usr && |
pankso@7880 | 21 make && |
pascal@10614 | 22 make DESTDIR=$DESTDIR install |
pankso@7880 | 23 } |
pankso@7880 | 24 |
pankso@7880 | 25 # Rules to gen a SliTaz package suitable for Tazpkg. |
pankso@7880 | 26 genpkg_rules() |
pankso@7880 | 27 { |
pankso@7880 | 28 mkdir -p $fs/usr/lib $fs/usr/share |
pankso@7880 | 29 cp -a $_pkg/usr/lib $fs/usr |
pankso@7880 | 30 cp -a $_pkg/usr/share/cairo-dock $fs/usr/share |
pankso@7880 | 31 } |