wok-next view codeblocks/receipt @ rev 4382

Add ht
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Oct 14 11:55:42 2009 +0200 (2009-10-14)
parents bace02e19bd0
children f7e96b8e3444
line source
1 # SliTaz package receipt.
3 PACKAGE="codeblocks"
4 VERSION="8.02"
5 CATEGORY="development"
6 SHORT_DESC="An open source, cross platform, free C++ IDE."
7 MAINTAINER="stefanossofroniou542@gmail.com"
8 TARBALL="$PACKAGE-$VERSION-src.tar.bz2"
9 DEPENDS="wxWidgets"
10 BUILD_DEPENDS="wxWidgets-dev expat-dev autoconf automake libtool zip gnome-icon-theme"
11 WEB_SITE="http://www.codeblocks.org/"
12 WGET_URL="http://download.berlios.de/codeblocks/$TARBALL"
14 # Rules to configure and make the package.
15 compile_rules()
16 {
17 cd $src
18 busybox patch -p1 -i ../stuff/glib.u
19 ./configure \
20 --with-contrib-plugins="all, -help" \
21 --prefix=/usr \
22 $CONFIGURE_ARGS &&
23 make &&
24 make DESTDIR=$PWD/_pkg install
25 }
27 # Rules to gen a SliTaz package suitable for Tazpkg.
28 genpkg_rules()
29 {
30 mkdir -p $fs/usr/lib $fs/usr/share
31 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
32 cp -a $_pkg/usr/share/codeblocks $fs/usr/share
33 cp -a $_pkg/usr/bin $fs/usr
34 }