wok annotate tint2/receipt @ rev 12418
Split razorqt-power (with upower dep)
author | Christophe Lincoln <pankso@slitaz.org> |
---|---|
date | Fri Apr 20 18:40:22 2012 +0200 (2012-04-20) |
parents | 4a193c62c501 |
children | 380ffe05937a |
rev | line source |
---|---|
jozee@2766 | 1 # SliTaz package receipt. |
jozee@2766 | 2 |
jozee@2766 | 3 PACKAGE="tint2" |
slaxemulator@6623 | 4 VERSION="0.11" |
jozee@2766 | 5 CATEGORY="misc" |
jozee@2766 | 6 SHORT_DESC="taskbar and panel" |
jozee@2766 | 7 MAINTAINER="jozee@slitaz.org" |
slaxemulator@6623 | 8 TARBALL="$PACKAGE-$VERSION.tar.bz2" |
jozee@2766 | 9 WEB_SITE="http://tint2.googlecode.com/files/" |
jozee@2766 | 10 WGET_URL="$WEB_SITE/$TARBALL" |
rocky@3576 | 11 CONFIG_FILES="/etc/xdg/tint2/tint2rc" |
jozee@4973 | 12 TAGS="desktop panel taskbar" |
jozee@2766 | 13 |
pankso@9854 | 14 DEPENDS="gtk+ cairo pango glib imlib2 xorg-libXinerama xcb-util freetype" |
pankso@9854 | 15 BUILD_DEPENDS="pygtk-dev cmake pkg-config imlib2-dev xcb-util-dev" |
pankso@9854 | 16 |
jozee@2766 | 17 # Rules to configure and make the package. |
jozee@2766 | 18 compile_rules() |
jozee@2766 | 19 { |
rocky@3576 | 20 cd $src |
slaxemulator@6623 | 21 [ -d build ] || mkdir build |
slaxemulator@6623 | 22 cd build |
slaxemulator@6623 | 23 cmake -DCMAKE_INSTALL_PREFIX=/usr ../ && |
rocky@3576 | 24 make && |
pankso@9854 | 25 make DESTDIR=$DESTDIR install |
jozee@2766 | 26 } |
jozee@2766 | 27 |
jozee@2766 | 28 # Rules to gen a SliTaz package suitable for Tazpkg. |
jozee@2766 | 29 genpkg_rules() |
jozee@2766 | 30 { |
rocky@3576 | 31 mkdir -p $fs/usr |
rocky@3576 | 32 cp -a $_pkg/etc $fs |
rocky@3576 | 33 cp -a $_pkg/usr/bin $fs/usr |
jozee@2766 | 34 } |