wok view codeblocks/receipt @ rev 7669
Up: xorg-xev to 1.1.0.
author | Christopher Rogers <slaxemulator@gmail.com> |
---|---|
date | Thu Dec 16 16:08:33 2010 +0000 (2010-12-16) |
parents | 7ea88aca3c62 |
children | a251caa1f12a |
line source
1 # SliTaz package receipt.
3 PACKAGE="codeblocks"
4 VERSION="10.05"
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"
13 TAGS="IDE"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 src=$WOK/$PACKAGE/$PACKAGE-$VERSION-release
19 cd $src
20 busybox patch -p1 -i ../stuff/glib.u
21 ./configure \
22 --with-contrib-plugins="all, -help" \
23 --prefix=/usr \
24 $CONFIGURE_ARGS &&
25 make -j 4 &&
26 make DESTDIR=$PWD/_pkg install
27 }
29 # Rules to gen a SliTaz package suitable for Tazpkg.
30 genpkg_rules()
31 {
32 _pkg=$WOK/$PACKAGE/$PACKAGE-$VERSION-release/_pkg
33 mkdir -p $fs/usr/lib $fs/usr/share
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/share/codeblocks $fs/usr/share
36 cp -a $_pkg/usr/bin $fs/usr
37 }