wok-next view codeblocks/receipt @ rev 16708

squidguard: Add squid 3.4.x support
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Wed May 28 23:59:33 2014 +0200 (2014-05-28)
parents b50cda93acd2
children 533c0cab6960
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 cd $src
24 busybox patch -p1 -i $stuff/glib.u
25 ./configure \
26 --with-contrib-plugins="all, -help" \
27 --prefix=/usr \
28 $CONFIGURE_ARGS &&
29 make $MAKEFLAGS &&
30 make DESTDIR=$DESTDIR install
31 }
33 # Rules to gen a SliTaz package suitable for Tazpkg.
34 genpkg_rules()
35 {
36 mkdir -p $fs/usr/lib $fs/usr/share
37 cp -a $install/usr/include $fs/usr
38 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
39 cp -a $install/usr/lib/*.so* $fs/usr/lib
40 cp -a $install/usr/lib/*.*a $fs/usr/lib
41 cp -a $install/usr/lib/codeblocks $fs/usr/lib
42 cp -a $install/usr/lib/wxSmithContribItems $fs/usr/lib
43 cp -a $install/usr/share/codeblocks $fs/usr/share
44 cp -a $install/usr/share/mime $fs/usr/share
45 cp -a $install/usr/bin $fs/usr
46 }