wok annotate tint2/receipt @ rev 6960

singularity: patch and path change
author Antoine Bodin <gokhlayeh@slitaz.org>
date Tue Oct 26 13:14:13 2010 +0200 (2010-10-26)
parents b5219ee4c3eb
children 4a193c62c501
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@6623 9 BUILD_DEPENDS="$DEPENDS libpng-dev jpeg-dev freetype-dev glib-dev cairo-dev pango-dev imlib2 imlib2-dev gtk+-dev xorg-dev-proto pygtk-dev cmake pkg-config fontconfig-dev"
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 }