wok-next view codeblocks/receipt @ rev 20460
Tiny edits
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Sat Mar 03 17:38:00 2018 +0200 (2018-03-03) |
parents | affba9aecc73 |
children | 835b3b8ce6ac |
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 hunspell-dev gamin-dev \
17 libboost-dev"
19 # Rules to configure and make the package.
20 compile_rules()
21 {
22 # Binutils 2.22 break many packages build without LDFLAGS set correctly.
23 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries"
25 busybox patch -p1 -i $stuff/glib.u
26 ./configure \
27 --with-contrib-plugins="all, -help" \
28 --prefix=/usr \
29 $CONFIGURE_ARGS &&
30 make $MAKEFLAGS &&
31 make DESTDIR=$DESTDIR install
32 }
34 # Rules to gen a SliTaz package suitable for Tazpkg.
35 genpkg_rules()
36 {
37 mkdir -p $fs/usr/lib $fs/usr/share
38 cp -a $install/usr/include $fs/usr
39 cp -a $install/usr/lib/pkgconfig $fs/usr/lib
40 cp -a $install/usr/lib/*.so* $fs/usr/lib
41 cp -a $install/usr/lib/*.*a $fs/usr/lib
42 cp -a $install/usr/lib/codeblocks $fs/usr/lib
43 cp -a $install/usr/lib/wxSmithContribItems $fs/usr/lib
44 cp -a $install/usr/share/codeblocks $fs/usr/share
45 cp -a $install/usr/bin $fs/usr
46 }