wok annotate bluefish/receipt @ rev 13132

libboost-dev: add boost::BOOST_FOREACH fix
author Pascal Bellard <pascal.bellard@slitaz.org>
date Sun Jul 08 13:24:52 2012 +0200 (2012-07-08)
parents ea422177b5f3
children 2b9f96603415
rev   line source
erjo@1170 1 # SliTaz package receipt.
erjo@1170 2
erjo@1170 3 PACKAGE="bluefish"
slaxemulator@8827 4 VERSION="2.0.3"
pascal@1423 5 CATEGORY="development"
erjo@1170 6 SHORT_DESC="A powerful editor"
erjo@1170 7 MAINTAINER="erjo@slitaz.org"
erjo@1170 8 TARBALL="$PACKAGE-$VERSION.tar.bz2"
erjo@1170 9 WEB_SITE="http://bluefish.openoffice.nl/index.html"
erjo@1170 10 WGET_URL="http://www.bennewitz.com/bluefish/stable/source/${TARBALL}"
jozee@3567 11 TAGS="editor language HTML programming scripting"
erjo@1170 12
@11664 13 DEPENDS="gtk+ pcre xorg-libXdamage aspell libxml2 gcc-lib-base shared-mime-info "
@11664 14 BUILD_DEPENDS="gtk+-dev pcre-dev intltool libxml2-dev expat-dev"
@11664 15
erjo@1170 16 # Rules to configure and make the package.
erjo@1170 17 compile_rules()
erjo@1170 18 {
@11664 19 ./configure $CONFIGURE_ARGS && make && make install
erjo@1170 20 }
erjo@1170 21
erjo@1170 22 # Rules to gen a SliTaz package suitable for Tazpkg.
erjo@1170 23 genpkg_rules()
erjo@1170 24 {
erjo@1170 25 mkdir -p $fs/usr $fs/usr/share/locale
@11664 26 cp -a $install/usr/bin $fs/usr
@11664 27 cp -a $install/usr/share/pixmaps $fs/usr/share
@11664 28 cp -a $install/usr/share/mime $fs/usr/share
@11664 29 cp -a $install/usr/share/bluefish $fs/usr/share
@11664 30 cp -a $install/usr/share/applications $fs/usr/share
@11664 31 cp -a $install/usr/share/locale/fr $fs/usr/share/locale
erjo@1170 32
erjo@1170 33 }
erjo@1170 34
@11664 35 # Post-install commands
@11664 36 post_install()
@11664 37 {
pascal@12196 38 chroot "$1/" /usr/bin/update-mime-database /usr/share/mime
@11664 39 }