wok-6.x diff cairo-dock/receipt @ rev 9026
gtkperf: fix genpkg_rules
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Thu Mar 03 22:08:34 2011 +0100 (2011-03-03) |
parents | |
children | 383ac462823b |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/cairo-dock/receipt Thu Mar 03 22:08:34 2011 +0100 1.3 @@ -0,0 +1,35 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +PACKAGE="cairo-dock" 1.7 +VERSION="2.2.0-4" 1.8 +CATEGORY="x-window" 1.9 +SHORT_DESC="Cairo-Dock is a light and eye-candy dock to launch." 1.10 +MAINTAINER="pankso@slitaz.org" 1.11 +DEPENDS="gtk+ cairo librsvg xorg-xcompmgr mesa gtkglext dbus \ 1.12 +libcurl" 1.13 +BUILD_DEPENDS="$DEPENDS cmake gtk+-dev cairo-dev librsvg-dev mesa-dev \ 1.14 +gtkglext-dev dbus-dev dbus-glib-dev curl-dev" 1.15 +SUGGESTED="cairo-dock-plugins" 1.16 +TARBALL="$PACKAGE-$VERSION.tar.gz" 1.17 +WEB_SITE="http://www.glx-dock.org/" 1.18 +WGET_URL="http://launchpad.net/cairo-dock-core/2.2/2.2.0/+download/$TARBALL" 1.19 + 1.20 +# Rules to configure and make the package. 1.21 +compile_rules() 1.22 +{ 1.23 + cd $src 1.24 + mkdir -p build && cd build 1.25 + cmake .. -DCMAKE_INSTALL_PREFIX=/usr && 1.26 + make && 1.27 + make DESTDIR=$src/_pkg install && 1.28 + sed -i s/'.svg'/''/ $src/_pkg/usr/share/applications/* 1.29 +} 1.30 + 1.31 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.32 +genpkg_rules() 1.33 +{ 1.34 + mkdir -p $fs/usr/lib $fs/usr/share/$PACKAGE 1.35 + cp -a $_pkg/usr/bin $fs/usr 1.36 + cp -a $_pkg/usr/lib/*.so* $fs/usr/lib 1.37 + cp -a $_pkg/usr/share/$PACKAGE $fs/usr/share 1.38 +}