wok-6.x view codeblocks/receipt @ rev 17523
Add horst
author | Paul Issott <paul@slitaz.org> |
---|---|
date | Sat Jan 17 19:25:59 2015 +0000 (2015-01-17) |
parents | 2b9f96603415 |
children | 17e313b5b9c1 |
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 LICENSE="GPL3"
9 TARBALL="$PACKAGE-$VERSION-src.tar.bz2"
10 WEB_SITE="http://www.codeblocks.org/"
11 WGET_URL="http://download.berlios.de/codeblocks/$TARBALL"
12 TAGS="IDE"
14 DEPENDS="wxWidgets"
15 BUILD_DEPENDS="wxWidgets-dev xorg-libXdmcp-dev xorg-libXau-dev expat-dev autoconf automake libtool zip gnome-icon-theme"
17 # Rules to configure and make the package.
18 compile_rules()
19 {
20 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
21 export LDFLAGS="-Wl,--copy-dt-needed-entries"
23 busybox patch -p1 -i $stuff/glib.u
24 ./configure \
25 --with-contrib-plugins="all, -help" \
26 --prefix=/usr \
27 $CONFIGURE_ARGS &&
28 make $MAKEFLAGS &&
29 make DESTDIR=$DESTDIR install
30 }
32 # Rules to gen a SliTaz package suitable for Tazpkg.
33 genpkg_rules()
34 {
35 mkdir -p $fs/usr/lib $fs/usr/share
36 cp -a $install/usr/include $fs/usr
37 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
38 cp -a $install/usr/lib/*.so* $fs/usr/lib
39 cp -a $install/usr/lib/*.*a $fs/usr/lib
40 cp -a $install/usr/lib/codeblocks $fs/usr/lib
41 cp -a $install/usr/lib/wxSmithContribItems $fs/usr/lib
42 cp -a $install/usr/share/codeblocks $fs/usr/share
43 cp -a $install/usr/bin $fs/usr
44 }