wok view codeblocks/receipt @ rev 8751

Removed all/most _pkg= lines in wok. The new tazwok-experimental can SOURCE paths and source are are all extracted to WOK/PACKAGE/PACKAGE-VERSION now with tazwok-experimental.
author Christopher Rogers <slaxemulator@gmail.com>
date Sun Feb 20 06:53:59 2011 +0000 (2011-02-20)
parents a251caa1f12a
children b696094920f3
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 cd $src
19 busybox patch -p1 -i $stuff/glib.u
20 ./configure \
21 --with-contrib-plugins="all, -help" \
22 --prefix=/usr \
23 $CONFIGURE_ARGS &&
24 make -j 4 &&
25 make DESTDIR=$DESTDIR install
26 }
28 # Rules to gen a SliTaz package suitable for Tazpkg.
29 genpkg_rules()
30 {
31 mkdir -p $fs/usr/lib $fs/usr/share
32 cp -a $_pkg/usr/include $fs/usr
33 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
34 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
35 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
36 cp -a $_pkg/usr/lib/codeblocks $fs/usr/lib
37 cp -a $_pkg/usr/lib/wxSmithContribitems $fs/usr/lib
38 cp -a $_pkg/usr/share/codeblocks $fs/usr/share
39 cp -a $_pkg/usr/share/mime $fs/usr/share
40 cp -a $_pkg/usr/bin $fs/usr
41 }