wok-6.x rev 11664
bluefish: Improve receipt. Thanks Justine
author | Eric Joseph-Alexandre < erjo@slitaz.org> |
---|---|
date | Thu Feb 16 13:29:02 2012 +0100 (2012-02-16) |
parents | 3ae84f4269b5 |
children | dd9679f8a35f |
files | bluefish/receipt |
line diff
1.1 --- a/bluefish/receipt Mon Feb 13 22:03:47 2012 +0100 1.2 +++ b/bluefish/receipt Thu Feb 16 13:29:02 2012 +0100 1.3 @@ -5,35 +5,35 @@ 1.4 CATEGORY="development" 1.5 SHORT_DESC="A powerful editor" 1.6 MAINTAINER="erjo@slitaz.org" 1.7 -DEPENDS="gtk+ pcre xorg-libXdamage aspell libxml2 gcc-lib-base" 1.8 -BUILD_DEPENDS="gtk+-dev pcre-dev intltool libxml2-dev expat-dev" 1.9 TARBALL="$PACKAGE-$VERSION.tar.bz2" 1.10 WEB_SITE="http://bluefish.openoffice.nl/index.html" 1.11 WGET_URL="http://www.bennewitz.com/bluefish/stable/source/${TARBALL}" 1.12 TAGS="editor language HTML programming scripting" 1.13 1.14 +DEPENDS="gtk+ pcre xorg-libXdamage aspell libxml2 gcc-lib-base shared-mime-info " 1.15 +BUILD_DEPENDS="gtk+-dev pcre-dev intltool libxml2-dev expat-dev" 1.16 + 1.17 # Rules to configure and make the package. 1.18 compile_rules() 1.19 { 1.20 - cd $src 1.21 - #mkdir -p _pkg/usr/share/mime-info 1.22 - #cp data/bluefish.mime _pkg/usr/share/mime-info 1.23 - #cp data/bluefish.keys _pkg/usr/share/mime-info 1.24 - ./configure --prefix=/usr --infodir=/usr/share/info \ 1.25 - --mandir=/usr/share/man $CONFIGURE_ARGS && 1.26 - make && 1.27 - make DESTDIR=$PWD/_pkg install 1.28 + ./configure $CONFIGURE_ARGS && make && make install 1.29 } 1.30 1.31 # Rules to gen a SliTaz package suitable for Tazpkg. 1.32 genpkg_rules() 1.33 { 1.34 mkdir -p $fs/usr $fs/usr/share/locale 1.35 - cp -a $_pkg/usr/bin $fs/usr 1.36 - cp -a $_pkg/usr/share/pixmaps $fs/usr/share 1.37 - cp -a $_pkg/usr/share/mime $fs/usr/share 1.38 - cp -a $_pkg/usr/share/bluefish $fs/usr/share 1.39 - cp -a $_pkg/usr/share/locale/fr $fs/usr/share/locale 1.40 + cp -a $install/usr/bin $fs/usr 1.41 + cp -a $install/usr/share/pixmaps $fs/usr/share 1.42 + cp -a $install/usr/share/mime $fs/usr/share 1.43 + cp -a $install/usr/share/bluefish $fs/usr/share 1.44 + cp -a $install/usr/share/applications $fs/usr/share 1.45 + cp -a $install/usr/share/locale/fr $fs/usr/share/locale 1.46 1.47 } 1.48 1.49 +# Post-install commands 1.50 +post_install() 1.51 +{ 1.52 + $1/usr/bin/update-mime-database $1/usr/share/mime || continue 1.53 +}