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