wok-next annotate codeblocks/receipt @ rev 18066
ppp.cgi: use 'vpn' and 'modem' icons. (again)
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon May 18 17:08:18 2015 +0200 (2015-05-18) |
parents | 533c0cab6960 |
children | affba9aecc73 |
rev | line source |
---|---|
mallory@3102 | 1 # SliTaz package receipt. |
mallory@3102 | 2 |
mallory@3102 | 3 PACKAGE="codeblocks" |
slaxemulator@7561 | 4 VERSION="10.05" |
mallory@3102 | 5 CATEGORY="development" |
mallory@3102 | 6 SHORT_DESC="An open source, cross platform, free C++ IDE." |
mallory@3102 | 7 MAINTAINER="stefanossofroniou542@gmail.com" |
pascal@14999 | 8 LICENSE="GPL3" |
mallory@3102 | 9 TARBALL="$PACKAGE-$VERSION-src.tar.bz2" |
mallory@3102 | 10 WEB_SITE="http://www.codeblocks.org/" |
mallory@3102 | 11 WGET_URL="http://download.berlios.de/codeblocks/$TARBALL" |
jozee@4933 | 12 TAGS="IDE" |
mallory@3102 | 13 |
pascal@14999 | 14 DEPENDS="wxWidgets" |
pascal@14999 | 15 BUILD_DEPENDS="wxWidgets-dev xorg-libXdmcp-dev xorg-libXau-dev expat-dev autoconf automake libtool zip gnome-icon-theme" |
pascal@14999 | 16 |
mallory@3102 | 17 # Rules to configure and make the package. |
mallory@3102 | 18 compile_rules() |
mallory@3102 | 19 { |
pascal@12652 | 20 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@17670 | 21 export LDFLAGS="$LDFLAGS -Wl,--copy-dt-needed-entries" |
pascal@12652 | 22 |
slaxemulator@8751 | 23 busybox patch -p1 -i $stuff/glib.u |
mallory@3102 | 24 ./configure \ |
mallory@3102 | 25 --with-contrib-plugins="all, -help" \ |
mallory@3102 | 26 --prefix=/usr \ |
mallory@3102 | 27 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 28 make $MAKEFLAGS && |
slaxemulator@8751 | 29 make DESTDIR=$DESTDIR install |
mallory@3102 | 30 } |
mallory@3102 | 31 |
mallory@3102 | 32 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@3102 | 33 genpkg_rules() |
mallory@3102 | 34 { |
mallory@3102 | 35 mkdir -p $fs/usr/lib $fs/usr/share |
pascal@14999 | 36 cp -a $install/usr/include $fs/usr |
pascal@14999 | 37 cp -a $install/usr/lib/pkgconfig $fs/usr/lib |
pascal@14999 | 38 cp -a $install/usr/lib/*.so* $fs/usr/lib |
pascal@14999 | 39 cp -a $install/usr/lib/*.*a $fs/usr/lib |
pascal@14999 | 40 cp -a $install/usr/lib/codeblocks $fs/usr/lib |
pascal@14999 | 41 cp -a $install/usr/lib/wxSmithContribItems $fs/usr/lib |
pascal@14999 | 42 cp -a $install/usr/share/codeblocks $fs/usr/share |
pascal@14999 | 43 cp -a $install/usr/bin $fs/usr |
mallory@3102 | 44 } |