wok-current view codeblocks/receipt @ rev 19371
ppp: remove pppnc (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Tue Aug 09 11:46:12 2016 +0200 (2016-08-09) |
parents | 17e313b5b9c1 |
children | bf3436efb3ae |
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="wxWidgets28"
15 BUILD_DEPENDS="wxWidgets28-dev xorg-libXdmcp-dev xorg-libXau-dev expat-dev \
16 autoconf automake libtool zip gnome-icon-theme"
18 # Rules to configure and make the package.
19 compile_rules()
20 {
21 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
22 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
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/bin $fs/usr
45 }