wok-next view codeblocks/receipt @ rev 14893

Add: libbsd* (0.6.0)
author Claudinei Pereira <claudinei@slitaz.org>
date Thu Jul 25 21:38:42 2013 -0300 (2013-07-25)
parents 8e4c74abdf74
children 2b9f96603415
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 xorg-libXdmcp-dev xorg-libXau-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 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
19 export LDFLAGS="-Wl,--copy-dt-needed-entries"
21 cd $src
22 busybox patch -p1 -i $stuff/glib.u
23 ./configure \
24 --with-contrib-plugins="all, -help" \
25 --prefix=/usr \
26 $CONFIGURE_ARGS &&
27 make $MAKEFLAGS &&
28 make DESTDIR=$DESTDIR install
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/lib $fs/usr/share
35 cp -a $_pkg/usr/include $fs/usr
36 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib
37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib
38 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib
39 cp -a $_pkg/usr/lib/codeblocks $fs/usr/lib
40 cp -a $_pkg/usr/lib/wxSmithContribItems $fs/usr/lib
41 cp -a $_pkg/usr/share/codeblocks $fs/usr/share
42 cp -a $_pkg/usr/share/mime $fs/usr/share
43 cp -a $_pkg/usr/bin $fs/usr
44 }