wok annotate codeblocks/receipt @ rev 3392

Ren: docutils -> python-docutils
author Claudinei Pereira <claudinei@slitaz.org>
date Fri Jun 12 00:07:46 2009 +0000 (2009-06-12)
parents
children f141df72e641
rev   line source
mallory@3102 1 # SliTaz package receipt.
mallory@3102 2
mallory@3102 3 PACKAGE="codeblocks"
mallory@3102 4 VERSION="8.02"
mallory@3102 5 CATEGORY="development"
mallory@3102 6 SHORT_DESC="An open source, cross platform, free C++ IDE."
mallory@3102 7 MAINTAINER="stefanossofroniou542@gmail.com"
mallory@3102 8 TARBALL="$PACKAGE-$VERSION-src.tar.bz2"
mallory@3102 9 DEPENDS="wxWidgets"
mallory@3102 10 BUILD_DEPENDS="wxWidgets-dev expat-dev autoconf automake libtool zip gnome-icon-theme"
mallory@3102 11 WEB_SITE="http://www.codeblocks.org/"
mallory@3102 12 WGET_URL="http://download.berlios.de/codeblocks/$TARBALL"
mallory@3102 13
mallory@3102 14 # Rules to configure and make the package.
mallory@3102 15 compile_rules()
mallory@3102 16 {
mallory@3102 17 cd $src
mallory@3102 18 ./configure \
mallory@3102 19 --with-contrib-plugins="all, -help" \
mallory@3102 20 --prefix=/usr \
mallory@3102 21 $CONFIGURE_ARGS &&
mallory@3102 22 make &&
mallory@3102 23 make DESTDIR=$PWD/_pkg install
mallory@3102 24 }
mallory@3102 25
mallory@3102 26 # Rules to gen a SliTaz package suitable for Tazpkg.
mallory@3102 27 genpkg_rules()
mallory@3102 28 {
mallory@3102 29 mkdir -p $fs/usr/lib $fs/usr/share
mallory@3102 30 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
mallory@3102 31 cp -a $_pkg/usr/share/codeblocks $fs/usr/share
mallory@3102 32 cp -a $_pkg/usr/bin $fs/usr
mallory@3102 33 }