wok-stable annotate tint2/receipt @ rev 9185

Up: gpa 0.9.0
author Antoine Bodin <gokhlayeh@slitaz.org>
date Wed Mar 09 05:01:51 2011 +0100 (2011-03-09)
parents e89882e9e63e
children 82572c53729d
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 DEPENDS="gtk+ cairo pango glib imlib2 xorg-libXinerama xcb-util freetype"
slaxemulator@8964 9 BUILD_DEPENDS="pygtk-dev cmake pkg-config"
slaxemulator@6623 10 TARBALL="$PACKAGE-$VERSION.tar.bz2"
jozee@2766 11 WEB_SITE="http://tint2.googlecode.com/files/"
jozee@2766 12 WGET_URL="$WEB_SITE/$TARBALL"
rocky@3576 13 CONFIG_FILES="/etc/xdg/tint2/tint2rc"
jozee@4973 14 TAGS="desktop panel taskbar"
jozee@2766 15
jozee@2766 16 # Rules to configure and make the package.
jozee@2766 17 compile_rules()
jozee@2766 18 {
rocky@3576 19 cd $src
slaxemulator@6623 20 [ -d build ] || mkdir build
slaxemulator@6623 21 cd build
slaxemulator@6623 22 cmake -DCMAKE_INSTALL_PREFIX=/usr ../ &&
rocky@3576 23 make &&
slaxemulator@6623 24 make DESTDIR=$PWD/../_pkg install
jozee@2766 25 }
jozee@2766 26
jozee@2766 27 # Rules to gen a SliTaz package suitable for Tazpkg.
jozee@2766 28 genpkg_rules()
jozee@2766 29 {
rocky@3576 30 mkdir -p $fs/usr
rocky@3576 31 cp -a $_pkg/etc $fs
rocky@3576 32 cp -a $_pkg/usr/bin $fs/usr
jozee@2766 33 }