wok view codeblocks/receipt @ rev 4880

Add: hal-scripts
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Thu Feb 04 23:56:03 2010 +0100 (2010-02-04)
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 }