wok-current annotate codeblocks/receipt @ rev 13836
epdfview: update bdeps
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Jan 07 15:14:06 2013 +0100 (2013-01-07) |
parents | 8e4c74abdf74 |
children | 2b9f96603415 |
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" |
mallory@3102 | 8 TARBALL="$PACKAGE-$VERSION-src.tar.bz2" |
mallory@3102 | 9 DEPENDS="wxWidgets" |
slaxemulator@8757 | 10 BUILD_DEPENDS="wxWidgets-dev xorg-libXdmcp-dev xorg-libXau-dev expat-dev autoconf automake libtool zip gnome-icon-theme" |
mallory@3102 | 11 WEB_SITE="http://www.codeblocks.org/" |
mallory@3102 | 12 WGET_URL="http://download.berlios.de/codeblocks/$TARBALL" |
jozee@4933 | 13 TAGS="IDE" |
mallory@3102 | 14 |
mallory@3102 | 15 # Rules to configure and make the package. |
mallory@3102 | 16 compile_rules() |
mallory@3102 | 17 { |
pascal@12652 | 18 # Binutils 2.22 break many packages build without LDFLAGS set correctly. |
pascal@12652 | 19 export LDFLAGS="-Wl,--copy-dt-needed-entries" |
pascal@12652 | 20 |
mallory@3102 | 21 cd $src |
slaxemulator@8751 | 22 busybox patch -p1 -i $stuff/glib.u |
mallory@3102 | 23 ./configure \ |
mallory@3102 | 24 --with-contrib-plugins="all, -help" \ |
mallory@3102 | 25 --prefix=/usr \ |
mallory@3102 | 26 $CONFIGURE_ARGS && |
gokhlayeh@11574 | 27 make $MAKEFLAGS && |
slaxemulator@8751 | 28 make DESTDIR=$DESTDIR install |
mallory@3102 | 29 } |
mallory@3102 | 30 |
mallory@3102 | 31 # Rules to gen a SliTaz package suitable for Tazpkg. |
mallory@3102 | 32 genpkg_rules() |
mallory@3102 | 33 { |
mallory@3102 | 34 mkdir -p $fs/usr/lib $fs/usr/share |
slaxemulator@7704 | 35 cp -a $_pkg/usr/include $fs/usr |
slaxemulator@7704 | 36 cp -a $_pkg/usr/lib/pkgconfig $fs/usr/lib |
mallory@3102 | 37 cp -a $_pkg/usr/lib/*.so* $fs/usr/lib |
slaxemulator@7704 | 38 cp -a $_pkg/usr/lib/*.*a $fs/usr/lib |
slaxemulator@7704 | 39 cp -a $_pkg/usr/lib/codeblocks $fs/usr/lib |
slaxemulator@8757 | 40 cp -a $_pkg/usr/lib/wxSmithContribItems $fs/usr/lib |
mallory@3102 | 41 cp -a $_pkg/usr/share/codeblocks $fs/usr/share |
slaxemulator@7704 | 42 cp -a $_pkg/usr/share/mime $fs/usr/share |
mallory@3102 | 43 cp -a $_pkg/usr/bin $fs/usr |
mallory@3102 | 44 } |